Ofelia: enable error mail notifications for nextcloud
This commit is contained in:
parent
c48528802a
commit
789ff576b2
|
@ -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]
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue