Use our usual deploy config
This commit is contained in:
parent
899a5b3b82
commit
8482921f37
15
compose.yml
15
compose.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user