-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDeploy.yml
More file actions
31 lines (29 loc) 路 637 Bytes
/
Copy pathDeploy.yml
File metadata and controls
31 lines (29 loc) 路 637 Bytes
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
version: '3.7'
services:
departure-board:
image: docker.pkg.github.com/benfl3713/departureboard/departure-board:latest
deploy:
replicas: 3
restart_policy:
condition: any
update_config:
failure_action: rollback
expose:
- "80"
volumes:
- ./config.xml:/config.xml
nginx:
image: nginx:latest
deploy:
replicas: 1
restart_policy:
condition: any
update_config:
parallelism: 1
failure_action: rollback
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- departure-board
ports:
- "80:4000"