1 Commits

Author SHA1 Message Date
4bb0a87b33 increase healthcheck retries
Some checks failed
continuous-integration/drone/push Build is failing
2025-12-23 14:48:53 +01:00
4 changed files with 6 additions and 9 deletions

View File

@ -31,6 +31,3 @@ TX="Europe/Berlin"
#SMTP_HOST=mail.example.com
#SMTP_PORT=587
#SMTP_SECURITY=starttls
# If SMTP isn't working, enable this line to debug
# remember to disable it after debugging
#SMTP_DEBUG=true

View File

@ -34,9 +34,9 @@ services:
backupbot.restore.post-hook: 'mysql -u root -p"$$(cat /run/secrets/db_root_password)" $${MYSQL_DATABASE} < /var/lib/mysql/backup.sql'
healthcheck:
test: ["CMD-SHELL", 'mysqladmin -p"$$(cat /run/secrets/db_root_password)" ping']
interval: 5s
interval: 30s
timeout: 10s
retries: 0
retries: 30
start_period: 1m
secrets:

View File

@ -13,7 +13,6 @@ services:
- "SMTP_HOST"
- "SMTP_PORT"
- "SMTP_SECURITY"
- "SMTP_DEBUG"
secrets:
smtp_password:

View File

@ -30,9 +30,10 @@ services:
- vaultwarden_data:/data
healthcheck:
test: curl -f http://localhost/alive || exit 1
interval: 5s
timeout: 3s
retries: 10
interval: 30s
timeout: 10s
retries: 30
start_period: 1m
deploy:
restart_policy:
condition: on-failure