From b49b904333148a6bb8d385bd8dc2daea6340a781 Mon Sep 17 00:00:00 2001 From: Derek Cooper Date: Sat, 21 Feb 2026 00:19:29 -0800 Subject: [PATCH] Added "-" to environment variables --- Watchtower/docker-compose.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Watchtower/docker-compose.yaml b/Watchtower/docker-compose.yaml index 5960adf..f237b1e 100644 --- a/Watchtower/docker-compose.yaml +++ b/Watchtower/docker-compose.yaml @@ -4,15 +4,15 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock:ro environment: - TZ: ${WATCHTOWER_TZ} - WATCHTOWER_CLEANUP: true # Remove old images after updating - WATCHTOWER_REMOVE_VOLUMES: false # Remove attached volumes after updating - DOCKER_API_VERSION: 1.45 # SSH docker version 1.41 for Docker engine version 20.10 - 1.43 for Docker engine version 24 - 1.45 for Docker engine version 26.1 - WATCHTOWER_INCLUDE_RESTARTING: true # Restart containers after update - WATCHTOWER_INCLUDE_STOPPED: false # Update stopped containers - WATCHTOWER_SCHEDULE: "0 0 */2 * * *" # Update & Scan containers every 2 hours - WATCHTOWER_LABEL_ENABLE: false - WATCHTOWER_ROLLING_RESTART: true - WATCHTOWER_TIMEOUT: 30s - WATCHTOWER_LOG_FORMAT: pretty + - TZ: ${WATCHTOWER_TZ} + - WATCHTOWER_CLEANUP: true # Remove old images after updating + - WATCHTOWER_REMOVE_VOLUMES: false # Remove attached volumes after updating + - DOCKER_API_VERSION: 1.45 # SSH docker version 1.41 for Docker engine version 20.10 - 1.43 for Docker engine version 24 - 1.45 for Docker engine version 26.1 + - WATCHTOWER_INCLUDE_RESTARTING: true # Restart containers after update + - WATCHTOWER_INCLUDE_STOPPED: false # Update stopped containers + - WATCHTOWER_SCHEDULE: "0 0 */2 * * *" # Update & Scan containers every 2 hours + - WATCHTOWER_LABEL_ENABLE: false + - WATCHTOWER_ROLLING_RESTART: true + - WATCHTOWER_TIMEOUT: 30s + - WATCHTOWER_LOG_FORMAT: pretty restart: unless-stopped \ No newline at end of file