Use our usual deploy config

This commit is contained in:
decentral1se 2021-05-28 11:36:31 +02:00
parent 899a5b3b82
commit 8482921f37
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 9 additions and 6 deletions

View File

@ -57,8 +57,9 @@ services:
"wget -q --spider --proxy=off localhost:3000/health || exit 1",
]
deploy:
restart_policy:
condition: on-failure
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
@ -178,8 +179,9 @@ services:
"wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1",
]
deploy:
restart_policy:
condition: on-failure
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
@ -199,8 +201,9 @@ services:
image: *image
command: bundle exec sidekiq
deploy:
restart_policy:
condition: on-failure
update_config:
failure_action: rollback
order: start-first
networks: *bothNetworks
volumes: *appVolume
environment: *env