Enable healthchecks and zero down time deploys
continuous-integration/drone/push Build is passing Details

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
1 changed files with 6 additions and 0 deletions

View File

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