1 Commits

Author SHA1 Message Date
490ebe9533 add smtp_debug env var 2025-12-01 15:40:52 -08:00
4 changed files with 9 additions and 6 deletions

View File

@ -31,3 +31,6 @@ 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: 30s
interval: 5s
timeout: 10s
retries: 30
retries: 0
start_period: 1m
secrets:

View File

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

View File

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