-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 1.33 KB
/
docker-compose.yml
File metadata and controls
46 lines (43 loc) · 1.33 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
include:
- ./Infrastructure1/docker-compose-infra1.yml
- ./Infrastructure2/docker-compose-infra2.yml
services:
# Common MongoDB service for multiple infrastructures
mongo:
image: mongo:5.0
container_name: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: mongoAdmin
MONGO_INITDB_ROOT_PASSWORD: mongoPassword
restart: unless-stopped
healthcheck:
test: mongo
interval: 10s
start_period: 5s
retries: 5
networks:
- multiple-infrastructures
# Common AAS Web UI service for multiple infrastructures
aas-web-ui:
image: eclipsebasyx/aas-gui:SNAPSHOT
container_name: aas-web-ui
extra_hosts:
- "keycloak.basyx.localhost:host-gateway"
ports:
- '3000:3000'
volumes:
# Mount infrastructure configuration file
- ./basyx-infra.yml:/basyx-infra.yml:ro
environment:
VIRTUAL_HOST: aasgui.basyx.localhost
VIRTUAL_PORT: "3000"
# Allow users to edit/add custom infrastructures
ENDPOINT_CONFIG_AVAILABLE: true
INFLUXDB_TOKEN: "S18VeAlq042B4naMX31oqIaSGmUmOLAC-DV3VIdkxDJuAhTXLTVFEchyTSmCcUAmB7Wu94KgExzV8gJaDjzR3Q=="
restart: unless-stopped
networks:
- multiple-infrastructures
networks:
multiple-infrastructures:
name: basyx-multi-infrastructures
driver: bridge