Ofelia: enable error mail notifications for nextcloud

This commit is contained in:
Marko Korhonen 2022-11-18 22:20:46 +02:00
parent c48528802a
commit 789ff576b2
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 8 additions and 2 deletions

View file

@ -49,6 +49,13 @@ labels = [
"ofelia.job-exec.nextcloud.schedule=0 */5 * * * *",
"ofelia.job-exec.nextcloud.command=php /var/www/html/cron.php",
"ofelia.job-exec.nextcloud.user=www-data",
"ofelia.smtp-host=${SMTP_HOST}",
"ofelia.smtp-port=${SMTP_PORT}",
"ofelia.smtp-user=${SMTP_USER}",
"ofelia.smtp-password=${SMTP_PASSWORD}",
"ofelia.email-to=${EMAIL_TO}",
"ofelia.email-from=${EMAIL_FROM}",
"ofelia.mail-only-on-error",
]
[services.redis]

View file

@ -3,7 +3,6 @@ image = "mcuadros/ofelia"
container_name = "ofelia"
volumes = [
"/etc/localtime:/etc/localtime:ro",
"/var/run/docker.sock:/var/run/docker.sock:ro"
"/var/run/docker.sock:/var/run/docker.sock:ro",
]
network_mode = "none"
command = "daemon --docker"