forked from uclapi/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
33 lines (30 loc) · 861 Bytes
/
docker-compose.prod.yml
File metadata and controls
33 lines (30 loc) · 861 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
32
33
# Staging overlay Docker Compose
version: "3.7"
services:
shibpostgres:
image: 236848092535.dkr.ecr.eu-west-2.amazonaws.com/uclapi-prod-shibpostgres:latest
nginx-shib:
image: 236848092535.dkr.ecr.eu-west-2.amazonaws.com/uclapi-prod-nginx-shib:latest
build:
args:
ENVIRONMENT: prod
deploy:
replicas: 2
update_config:
parallelism: 1
restart_policy:
condition: on-failure
placement:
# Constrain Nginx to run on the nodes ELB points to
constraints: [node.role == worker]
uclapi:
image: 236848092535.dkr.ecr.eu-west-2.amazonaws.com/uclapi-prod-uclapi:latest
build:
args:
ENVIRONMENT: prod
deploy:
replicas: 3
update_config:
parallelism: 1
restart_policy:
condition: on-failure