diff --git a/docker-compose.yaml b/docker-compose.yaml index eb3efd0..d41f3ea 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,12 +3,8 @@ services: image: containrrr/watchtower:latest container_name: watchtower restart: unless-stopped - environment: - - TZ=Europe/Madrid - - WATCHTOWER_NOTIFICATIONS=${WATCHTOWER_NOTIFICATIONS} - - WATCHTOWER_NOTIFICATION_URL=${WATCHTOWER_NOTIFICATION_URL} - - WATCHTOWER_NOTIFIER_LEVEL=${WATCHTOWER_NOTIFIER_LEVEL} - - WATCHTOWER_NOTIFICATIONS_REPORT=${WATCHTOWER_NOTIFICATIONS_REPORT} + env_file: + - .env volumes: - /var/run/docker.sock:/var/run/docker.sock:ro command: