Zero downtime configuration

This commit is contained in:
Luke Murphy 2020-06-22 19:41:06 +02:00
parent 39972bb9eb
commit 8ada7f238c

View File

@ -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"