This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
101 lines (94 loc) · 2.87 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Apache v2 license
# Copyright (C) <2019> Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
version: '3.4'
volumes:
inventory-data:
networks:
main-net:
services:
postgres-inventory:
image: postgres:11-alpine
ports:
- "5432:5432"
networks:
main-net:
logging:
options: {max-file: '5', max-size: 100m}
volumes:
- "inventory-data:/var/lib/postgresql/data/"
inventory:
image: rsp/inventory-service:dev
user: "2000:2000"
ports:
- "8080:8080"
networks:
- main-net
extra_hosts:
- "edgex-core-data:172.17.0.1"
- "edgex-support-logging:172.17.0.1"
- "edgex-core-consul:172.17.0.1"
- "edgex-core-command:172.17.0.1"
- "edgex-support-notifications:172.17.0.1"
healthcheck:
test: curl --fail -s http://localhost:8080/ || exit 1
interval: 1m30s
timeout: 10s
retries: 3
logging:
options: {max-file: '5', max-size: 100m}
environment:
dbHost: "postgres-inventory"
dbUser: "postgres"
dbPass: ""
dbPort: "5432"
dbName: "postgres"
dbSSLMode: "disable"
loggingLevel: "debug"
epcFilters: "[]"
telemetryEndpoint: ""
telemetryDataStoreName: "inventory-suite"
responseLimit: 10000
port: "8080"
cloudConnectorUrl: "http://cloud-connector:8080"
mappingSkuUrl: "http://product-data:8080/skus/"
rfidAlertURL: "http://rfid-alert:8080"
serviceName: "Inventory Service"
ageOuts: "front:10,back:60"
dailyInventoryPercentage: "0.01"
probUnreadToRead: "0.20"
probInStoreRead: "0.75"
probExitError: "0.10"
purgingDays: "90"
serverReadTimeOutSeconds: 900
serverWriteTimeOutSeconds: 900
contextEventFilterProviderID: ""
triggerRulesEndpoint: "/triggerrules"
triggerRulesOnFixedTags: "true"
newerHandheldHavePriority: "true"
cloudConnectorApiGatewayEndpoint: "/callwebhook"
rfidAlertMessageEndpoint: "/rfid-alert/alertmessage"
eventDestination: ""
eventDestinationAuthEndpoint: ""
eventDestinationAuthType: ""
eventDestinationClientID: ""
eventDestinationClientSecret: ""
dailyInventoryPercentageLabel: "daily_turn"
probUnreadToReadLabel: "becoming_readable"
probInStoreReadLabel: "being_read"
probExitErrorLabel: "exit_error"
endpointConnectionTimedOutSeconds: 15
advancedShippingNoticeFacilityID: "UNDEFINED_FACILITY"
rulesUrl: ""
cloudConnectorRetrySeconds: 30
proprietaryTagProductIdx: 2
proprietaryTagBitBoundary: "8.44.44"
tagURIAuthorityName: "example.com"
tagURIAuthorityDate: "2019-01-01"
dailyTurnMinimumDataPoints: 2
dailyTurnHistoryMaximum: 25
dailyTurnComputeUsingMedian: "false"
useComputedDailyTurnInConfidence: "true"
probPlugin: "false"