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 untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

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