forked from eclipse-basyx/basyx-java-server-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
97 lines (97 loc) · 2.79 KB
/
docker-compose.yml
File metadata and controls
97 lines (97 loc) · 2.79 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
97
include:
- docker-compose-elastic.yml
services:
aas-env:
image: eclipsebasyx/aas-environment:2.0.0-SNAPSHOT
container_name: aas-env
environment:
- SERVER_PORT=8081
volumes:
- ./aas:/application/aas
- ./basyx/aas-env.properties:/application/application.properties
ports:
- '8081:8081'
restart: always
depends_on:
aas-registry:
condition: service_healthy
sm-registry:
condition: service_healthy
mongo:
condition: service_healthy
elasticsearch:
condition: service_healthy
aas-registry:
image: eclipsebasyx/aas-registry-log-mongodb:2.0.0-SNAPSHOT
container_name: aas-registry
ports:
- '8082:8080'
environment:
- SERVER_PORT=8080
volumes:
- ./basyx/aas-registry.yml:/workspace/config/application.yml
restart: always
depends_on:
mongo:
condition: service_healthy
elasticsearch:
condition: service_healthy
sm-registry:
image: eclipsebasyx/submodel-registry-log-mongodb:2.0.0-SNAPSHOT
container_name: sm-registry
ports:
- '8083:8080'
environment:
- SERVER_PORT=8080
volumes:
- ./basyx/sm-registry.yml:/workspace/config/application.yml
restart: always
depends_on:
mongo:
condition: service_healthy
elasticsearch:
condition: service_healthy
aas-discovery:
image: eclipsebasyx/aas-discovery:2.0.0-SNAPSHOT
container_name: aas-discovery
environment:
- SERVER_PORT=8081
volumes:
- ./basyx/aas-discovery.properties:/application/application.properties
ports:
- '8084:8081'
restart: always
depends_on:
mongo:
condition: service_healthy
mongo:
image: mongo:8
container_name: mongo
ports:
- '27017:27017'
environment:
MONGO_INITDB_ROOT_USERNAME: mongoAdmin
MONGO_INITDB_ROOT_PASSWORD: mongoPassword
restart: always
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
aas-web-ui:
image: eclipsebasyx/aas-gui:SNAPSHOT
container_name: aas-ui
ports:
- '3000:3000'
environment:
AAS_REGISTRY_PATH: http://localhost:8082/shell-descriptors
SUBMODEL_REGISTRY_PATH: http://localhost:8083/submodel-descriptors
AAS_REPO_PATH: http://localhost:8081/shells
SUBMODEL_REPO_PATH: http://localhost:8081/submodels
CD_REPO_PATH: http://localhost:8081/concept-descriptions
AAS_DISCOVERY_PATH: http://localhost:8084/lookup/shells
restart: always
depends_on:
aas-env:
condition: service_healthy