Enable healthchecks and zero down time deploys
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fc2ad7b21c
commit
f7b57bf117
@ -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
|
||||||
|
Reference in New Issue
Block a user