Add healthcheck
continuous-integration/drone/push Build is failing Details

This commit is contained in:
decentral1se 2021-03-30 21:51:55 +02:00
parent f77c7447a9
commit 0c15c0b647
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@ services:
image: "decentral1se/cloud.autonomic.zone:latest"
networks:
- proxy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
interval: 10s
timeout: 10s
retries: 10
start_period: 15s
deploy:
update_config:
failure_action: rollback