Ofelia: enable error mail notifications for nextcloud
This commit is contained in:
parent
ed2b649164
commit
ee1f973c41
2 changed files with 8 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue