-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
96 lines (90 loc) · 2.73 KB
/
docker-compose.yml
File metadata and controls
96 lines (90 loc) · 2.73 KB
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
services:
mongo:
image: mongo:8
container_name: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: mongoAdmin
MONGO_INITDB_ROOT_PASSWORD: mongoPassword
healthcheck:
test: ["CMD-SHELL", "mongosh --quiet --username \"$MONGO_INITDB_ROOT_USERNAME\" --password \"$MONGO_INITDB_ROOT_PASSWORD\" --authenticationDatabase admin --eval \"db.adminCommand({ ping: 1 })\" || exit 1"]
interval: 10s
timeout: 5s
start_period: 20s
retries: 10
mqtt:
image: eclipse-mosquitto:2.0.15
container_name: mosquitto
ports:
- 1884:1884
volumes:
- ./mosquitto:/mosquitto/config
healthcheck:
test: ["CMD-SHELL", mosquitto_sub -p 1884 -t 'topic' -C 1 -E -i probe -W 3]
interval: 5s
retries: 3
start_period: 1s
timeout: 10s
aas-env:
image: eclipsebasyx/aas-environment:2.0.0-SNAPSHOT
container_name: aas-env
volumes:
- ./aas-env.properties:/application/application.properties
- ./aas:/application/aas
ports:
- 8081:8081
depends_on:
mongo:
condition: service_healthy
mqtt:
condition: service_healthy
aas-registry:
condition: service_healthy
sm-registry:
condition: service_healthy
aas-registry:
image: eclipsebasyx/aas-registry-log-mongodb:2.0.0-SNAPSHOT
container_name: aas-registry
ports:
- 8082:8080
volumes:
- ./aas-registry.yml:/workspace/config/application.yml
depends_on:
mongo:
condition: service_healthy
sm-registry:
image: eclipsebasyx/submodel-registry-log-mongodb:2.0.0-SNAPSHOT
container_name: sm-registry
ports:
- 8083:8080
volumes:
- ./sm-registry.yml:/workspace/config/application.yml
depends_on:
mongo:
condition: service_healthy
aas-discovery:
image: eclipsebasyx/aas-discovery:2.0.0-SNAPSHOT
container_name: aas-discovery
ports:
- 8084:8081
volumes:
- ./aas-discovery.properties:/application/application.properties
depends_on:
mongo:
condition: service_healthy
aas-web-ui:
image: eclipsebasyx/aas-gui:SNAPSHOT
container_name: aas-web-ui
ports:
- "3000:3000"
environment:
AAS_REGISTRY_PATH: "http://localhost:8082/shell-descriptors"
SUBMODEL_REGISTRY_PATH: "http://localhost:8083/submodel-descriptors"
AAS_DISCOVERY_PATH: "http://localhost:8084/lookup/shells"
AAS_REPO_PATH: "http://localhost:8081/shells"
SUBMODEL_REPO_PATH: "http://localhost:8081/submodels"
CD_REPO_PATH: "http://localhost:8081/concept-descriptions"
restart: always
depends_on:
aas-env:
condition: service_healthy