-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.av.yml
218 lines (216 loc) · 6.04 KB
/
docker-compose.av.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# Copyright © 2023 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause
networks:
edgex-network:
driver: bridge
services:
ms-authentication:
container_name: automated-vending_ms-authentication
depends_on:
core-data:
condition: service_started
core-command:
condition: service_started
environment:
EDGEX_SECURITY_SECRET_STORE: "false"
SERVICE_HOST: ms-authentication
hostname: ms-authentication
image: automated-vending/ms-authentication:dev
networks:
edgex-network: {}
ports:
- 48096:48096/tcp
restart: always
ipc: none
read_only: true
security_opt:
- no-new-privileges:true
logging:
options: { max-file: "5", max-size: 100m }
user: 2002:2001
ms-inventory:
image: "automated-vending/ms-inventory:dev"
container_name: automated-vending_ms-inventory
depends_on:
core-data:
condition: service_started
core-command:
condition: service_started
environment:
EDGEX_SECURITY_SECRET_STORE: "false"
SERVICE_HOST: ms-inventory
hostname: ms-inventory
networks:
edgex-network: {}
ports:
- 48095:48095/tcp
read_only: true
volumes:
- inventory:/tmp/
restart: always
ipc: none
security_opt:
- no-new-privileges:true
logging:
options: { max-file: "5", max-size: 100m }
user: "2000:2000"
ms-ledger:
image: "automated-vending/ms-ledger:dev"
container_name: automated-vending_ms-ledger
depends_on:
core-data:
condition: service_started
core-command:
condition: service_started
environment:
EDGEX_SECURITY_SECRET_STORE: "false"
SERVICE_HOST: ms-ledger
APPLICATIONSETTINGS_INVENTORYENDPOINT: "http://ms-inventory:48095/inventory"
hostname: ms-ledger
networks:
edgex-network: {}
ports:
- 127.0.0.1:48093:48093/tcp
read_only: true
volumes:
- ledger:/tmp/
restart: always
ipc: none
security_opt:
- no-new-privileges:true
logging:
options: { max-file: "5", max-size: 100m }
user: "2000:2000"
ds-card-reader:
image: "automated-vending/ds-card-reader:dev"
container_name: automated-vending_ds-card-reader
depends_on:
core-data:
condition: service_started
core-command:
condition: service_started
consul:
condition: service_started
environment:
EDGEX_SECURITY_SECRET_STORE: "false"
SERVICE_HOST: ds-card-reader
hostname: ds-card-reader
networks:
edgex-network: {}
ports:
- 127.0.0.1:48098:48098/tcp
restart: always
ipc: none
security_opt:
- no-new-privileges:true
logging:
options: { max-file: "5", max-size: 100m }
user: "2000:2000"
ds-controller-board:
image: "automated-vending/ds-controller-board:dev"
container_name: automated-vending-controller-board
depends_on:
core-data:
condition: service_started
core-command:
condition: service_started
consul:
condition: service_started
environment:
EDGEX_SECURITY_SECRET_STORE: "false"
SERVICE_HOST: ds-controller-board
hostname: ds-controller-board
networks:
edgex-network: {}
ports:
- 127.0.0.1:48097:48097/tcp
restart: always
ipc: none
security_opt:
- no-new-privileges:true
logging:
options: { max-file: "5", max-size: 100m }
user: "2000:2000"
ds-cv-inference:
image: "automated-vending/ds-cv-inference:dev"
container_name: automated-vending_ds-cv-inference
command: ["/go/src/ds-cv-inference/images","mqtt-broker:1883","0.85","/go/src/ds-cv-inference/skumapping.json"]
depends_on:
mqtt-broker:
condition: service_started
hostname: ds-cv-inference
networks:
edgex-network: {}
ports:
- 127.0.0.1:9005:9005/tcp
restart: always
ipc: none
security_opt:
- no-new-privileges:true
logging:
options: { max-file: "5", max-size: 100m }
user: "2000:2000"
as-vending:
image: "automated-vending/as-vending:dev"
container_name: automated-vending_as-vending
depends_on:
core-data:
condition: service_started
core-command:
condition: service_started
consul:
condition: service_started
environment:
CLIENTS_CORE_COMMAND_HOST: edgex-core-command
EDGEX_SECURITY_SECRET_STORE: "false"
SERVICE_HOST: as-vending
VENDING_AUTHENTICATIONENDPOINT: http://ms-authentication:48096/authentication
VENDING_INVENTORYAUDITLOGSERVICE: http://ms-inventory:48095/auditlog
VENDING_INVENTORYSERVICE: http://ms-inventory:48095/inventory/delta
VENDING_LEDGERSERVICE: http://ms-ledger:48093/ledger
hostname: as-vending
networks:
edgex-network: {}
ports:
- 127.0.0.1:48099:48099/tcp
restart: always
ipc: none
security_opt:
- no-new-privileges:true
logging:
options: { max-file: "5", max-size: 100m }
user: "2000:2000"
as-controller-board-status:
image: "automated-vending/as-controller-board-status:dev"
container_name: automated-vending_as-controller-board-status
depends_on:
core-data:
condition: service_started
core-command:
condition: service_started
consul:
condition: service_started
environment:
CLIENTS_CORE_COMMAND_HOST: edgex-core-command
CLIENTS_SUPPORT_NOTIFICATIONS_HOST: edgex-support-notifications
EDGEX_SECURITY_SECRET_STORE: "false"
SERVICE_HOST: as-controller-board-status
CONTROLLERBOARDSTATUS_VENDINGENDPOINT: "http://as-vending:48099/boardStatus"
CONTROLLERBOARDSTATUS_MAXTEMPERATURETHRESHOLD: "83"
CONTROLLERBOARDSTATUS_MINTEMPERATURETHRESHOLD: "10"
hostname: as-controller-board-status
networks:
edgex-network: {}
ports:
- 127.0.0.1:48094:48094/tcp
restart: always
ipc: none
security_opt:
- no-new-privileges:true
logging:
options: { max-file: "5", max-size: 100m }
user: "2000:2000"
version: '3.7'
volumes:
ledger: {}
inventory: {}