diff --git a/compose/watchtower/docker-compose.yml b/compose/watchtower/docker-compose.yml new file mode 100644 index 0000000..efca63a --- /dev/null +++ b/compose/watchtower/docker-compose.yml @@ -0,0 +1,14 @@ +services: + watchtower: + image: containrrr/watchtower + container_name: watchtower + logging: + driver: journald + options: {} + security_opt: + - apparmor:unconfined + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /etc/timezone:/etc/timezone:ro + env_file: + - stack.env \ No newline at end of file diff --git a/compose/watchtower/stack.env b/compose/watchtower/stack.env new file mode 100644 index 0000000..f72943a --- /dev/null +++ b/compose/watchtower/stack.env @@ -0,0 +1,10 @@ +WATCHTOWER_NOTIFICATION_EMAIL_DELAY=2 +WATCHTOWER_NOTIFICATION_EMAIL_FROM= +WATCHTOWER_NOTIFICATION_EMAIL_SERVER= +WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD= +WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 +WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER= +WATCHTOWER_NOTIFICATION_EMAIL_TO= +WATCHTOWER_NOTIFICATIONS=email +WATCHTOWER_RUN_ONCE=true +WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG= \ No newline at end of file