mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 16:25:35 +01:00
26 lines
868 B
YAML
26 lines
868 B
YAML
services:
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
container_name: watchtower
|
|
networks:
|
|
- watchtower
|
|
environment:
|
|
- TZ=${TIMEZONE}
|
|
- WATCHTOWER_MONITOR_ONLY=true
|
|
- WATCHTOWER_CLEANUP=true
|
|
- WATCHTOWER_SCHEDULE=0 0 1 * * MON
|
|
- WATCHTOWER_NOTIFICATIONS=email
|
|
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=${EMAIL_FROM}
|
|
- WATCHTOWER_NOTIFICATION_EMAIL_TO=${EMAIL_TO}
|
|
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=${EMAIL_SERVER}
|
|
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=${EMAIL_USER}
|
|
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${EMAIL_PW}
|
|
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=${EMAIL_PORT}
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
watchtower:
|
|
name: watchtower
|