-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.basyx.yml
107 lines (98 loc) · 2.63 KB
/
docker-compose.basyx.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
version: "3.9"
networks:
backend:
external: true
name: ah-backend
services:
mongo:
image: mongo:5.0.10
# Provide mongo config
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: mongoAdmin
MONGO_INITDB_ROOT_PASSWORD: mongoPassword
# Set health checks to wait until mongo has started
volumes:
- mongo-data:/data/db
healthcheck:
test: mongo
interval: 10s
start_period: 5s
retries: 5
# ports:
# - 27017:27017
mqtt:
image: eclipse-mosquitto:2.0.15
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
volumes:
- ./basyx/aas-env.properties:/application/application.properties
- ./basyx/aas:/application/aas
environment:
BASYX_EXTERNALURL: "http://${PUBLIC_IP}:8081"
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
ports:
- 8082:8080
volumes:
- ./basyx/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
ports:
- 8083:8080
volumes:
- ./basyx/sm-registry.yml:/workspace/config/application.yml
depends_on:
mongo:
condition: service_healthy
aas-discovery:
image: eclipsebasyx/aas-discovery:2.0.0-SNAPSHOT
ports:
- 8084:8081
volumes:
- ./basyx/aas-discovery.properties:/application/application.properties
depends_on:
mongo:
condition: service_healthy
aas-web-ui_v2:
image: wilterdinktno/aas-web-ui_v2:aashackaschool
container_name: aas-web-ui_v2
ports:
- "8080:3000"
environment:
AAS_REGISTRY_PATH: "http://${PUBLIC_IP}:8082"
SUBMODEL_REGISTRY_PATH: "http://${PUBLIC_IP}:8083"
AAS_DISCOVERY_PATH: "http://${PUBLIC_IP}:8084"
AAS_REPO_PATH: "http://${PUBLIC_IP}:8081/shells"
SUBMODEL_REPO_PATH: "http://${PUBLIC_IP}:8081/submodels"
CD_REPO_PATH: "http://${PUBLIC_IP}:8081/concept-descriptions"
restart: always
depends_on:
aas-env:
condition: service_healthy
volumes:
mongo-data: