dotfiles/docker/watchtower/docker-compose.yaml
Marko Korhonen 037967efd7 Convert compose files to yaml
toml conversion stopped working, don't want to fix it
2024-11-04 10:27:34 +02:00

18 lines
793 B
YAML

services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: unless-stopped
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=watchtower@korhonen.cc
- WATCHTOWER_NOTIFICATION_EMAIL_TO=admin@korhonen.cc
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.migadu.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD}
- WATCHTOWER_NOTIFICATION_EMAIL_DELAY=30
- WATCHTOWER_NOTIFICATIONS=email
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro