From 8e2f7de0b1fae1636f11707d79608b47421fe5e0 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Sun, 14 Jan 2024 21:04:06 +0100 Subject: [PATCH] Update docker-compose.yml add envs --- examples/watchtower/docker-compose.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/watchtower/docker-compose.yml b/examples/watchtower/docker-compose.yml index a5b6ed6..d4bea0d 100644 --- a/examples/watchtower/docker-compose.yml +++ b/examples/watchtower/docker-compose.yml @@ -5,12 +5,13 @@ services: container_name: watchtower hostname: watchtower environment: - #- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 - #- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=watchtower@example.com - #- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=MyStrongSmtpLoginPassword - #- WATCHTOWER_NOTIFICATION_EMAIL_FROM=watchtower@example.com - #- WATCHTOWER_NOTIFICATION_EMAIL_TO=john.doe@example.com - #- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.google.com + #- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=${SMTP_PORT:-587} + #- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=${SMTP_USER:-smtpuser} + #- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${SMTP_PASS:-smtppass} + #- WATCHTOWER_NOTIFICATION_EMAIL_FROM=${SMTP_MAIL_FROM:-watchtower@example.com} + #- WATCHTOWER_NOTIFICATION_EMAIL_TO=${SMTP_MAIL_TO:-watchtower@example.com} + #- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=${SMTP_SERVER:-smtp.google.com} + #- WATCHTOWER_HTTP_API_TOKEN=${API_TOKEN:-SecureApiToken} #- WATCHTOWER_NOTIFICATIONS=email #- WATCHTOWER_MONITOR_ONLY=true - WATCHTOWER_SCHEDULE=0 0 6 * * * # requires a go cron syntax of 6 space-separated fields; see https://containrrr.dev/watchtower/arguments/#scheduling