generated from coop-cloud/example
the web container keeps dying randomly due to the app upstream dissapearing for some reason... i am trying to use this config to make sure the web service can handle this gracefully and restart... See https://docs.coopcloud.tech/maintainers/handbook/#tuning-deploy-configs
This commit is contained in:
parent
6e52231d18
commit
60137256d4
@ -32,6 +32,13 @@ services:
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
rollback_config:
|
||||
order: start-first
|
||||
restart_policy:
|
||||
max_attempts: 10
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
|
Loading…
x
Reference in New Issue
Block a user