Enable healthchecks and zero down time deploys
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-06-23 15:57:29 +02:00
parent fc2ad7b21c
commit f7b57bf117
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -23,6 +23,12 @@ services:
- DRONE_USER_CREATE=username:autonomic,admin:true - DRONE_USER_CREATE=username:autonomic,admin:true
networks: networks:
- proxy - proxy
healthcheck:
test: ["CMD", "wget", "-q", "-t 1", "http://localhost:8042"]
interval: 10s
timeout: 10s
retries: 10
start_period: 10s
deploy: deploy:
update_config: update_config:
failure_action: rollback failure_action: rollback