added watchtower docker compose file
This commit is contained in:
parent
de9879528a
commit
50f62ec0c1
7
watchtower/.env
Normal file
7
watchtower/.env
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
WATCHTOWER_NOTIFICATIONS_HOSTNAME="Ilnostropianetaselvaggio Server"
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_FROM=""
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_TO=""
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER=""
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=""
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=""
|
17
watchtower/docker-compose.yml
Normal file
17
watchtower/docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
image: containrrr/watchtower
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
environment:
|
||||||
|
WATCHTOWER_SCHEDULE: "0 0 7 * * *"
|
||||||
|
TZ: Europe/Rome
|
||||||
|
WATCHTOWER_MONITOR_ONLY: true
|
||||||
|
WATCHTOWER_CLEANUP: true
|
||||||
|
WATCHTOWER_NOTIFICATIONS: email
|
||||||
|
WATCHTOWER_NOTIFICATIONS_HOSTNAME: ${WATCHTOWER_NOTIFICATIONS_HOSTNAME}
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_FROM: ${WATCHTOWER_NOTIFICATION_EMAIL_FROM}
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_TO: ${WATCHTOWER_NOTIFICATION_EMAIL_TO}
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER}
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT}
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER}
|
||||||
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD}
|
Loading…
x
Reference in New Issue
Block a user