From f59c85e21016e937be4b775d8d282648715efb0b Mon Sep 17 00:00:00 2001 From: groales Date: Mon, 1 Dec 2025 19:31:07 +0100 Subject: [PATCH] Usar env_file en lugar de environment para variables --- docker-compose.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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: