diff --git a/compose.yml b/compose.yml index 6dfd419..b4db3cd 100644 --- a/compose.yml +++ b/compose.yml @@ -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