Zero downtime configuration
This commit is contained in:
parent
fbf0aa00a4
commit
7f661b1074
@ -25,9 +25,16 @@ services:
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f" "http://localhost:3000"]
|
||||
interval: 15s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 30s
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user