Skip to content

Commit 9448009

Browse files
ci: rework compose file & add heal apps for walldorf & worms
- adjust image name - remove container name - add volume for region config
1 parent 50d7fe8 commit 9448009

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

docker-compose.yml

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,45 @@ networks:
44
name: production
55

66
services:
7-
web:
8-
# wait for proper env implementation in the app.
9-
# env_file:
10-
# - ./production.env
7+
heal-client-heidelberg:
118
build:
129
context: .
1310
dockerfile: Dockerfile
1411
user: "${UID:-0}:${GID:-0}"
15-
image: heigit/ors-map-client:local
16-
container_name: ors-map-client
12+
image: heigit/ors-map-client:heal
1713
volumes:
14+
- /opt/heal/heal-instances/client-heidelberg:/usr/share/nginx/html/static/config
1815
- ./nginx/logs:/var/log/nginx
1916
ports:
2017
- "8080:80"
2118
restart: unless-stopped
2219
networks:
2320
- production
21+
heal-client-walldorf:
22+
build:
23+
context: .
24+
dockerfile: Dockerfile
25+
user: "${UID:-0}:${GID:-0}"
26+
image: heigit/ors-map-client:heal
27+
volumes:
28+
- /opt/heal/heal-instances/client-walldorf:/usr/share/nginx/html/static/config
29+
- ./nginx/logs:/var/log/nginx
30+
ports:
31+
- "8081:80"
32+
restart: unless-stopped
33+
networks:
34+
- production
35+
heal-client-worms:
36+
build:
37+
context: .
38+
dockerfile: Dockerfile
39+
user: "${UID:-0}:${GID:-0}"
40+
image: heigit/ors-map-client:heal
41+
volumes:
42+
- /opt/heal/heal-instances/client-worms:/usr/share/nginx/html/static/config
43+
- ./nginx/logs:/var/log/nginx
44+
ports:
45+
- "8082:80"
46+
restart: unless-stopped
47+
networks:
48+
- production

0 commit comments

Comments
 (0)