From bacd210574f3dbbc48fb3fdb940a86ee51788f9b Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Tue, 5 Jan 2021 11:55:32 +0100 Subject: [PATCH] Switched to watchtower env file after all --- watchtower/docker-compose.yml | 4 ++-- watchtower/watchtower.env.example | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 watchtower/watchtower.env.example diff --git a/watchtower/docker-compose.yml b/watchtower/docker-compose.yml index 8c2fba1..9d6b6d8 100644 --- a/watchtower/docker-compose.yml +++ b/watchtower/docker-compose.yml @@ -5,8 +5,8 @@ services: image: 'containrrr/watchtower' restart: 'always' - environment: - - 'WATCHTOWER_LABEL_ENABLE=true' + env_file: + - 'watchtower.env' labels: - 'com.centurylinklabs.watchtower.enable=true' volumes: diff --git a/watchtower/watchtower.env.example b/watchtower/watchtower.env.example new file mode 100644 index 0000000..80d34bf --- /dev/null +++ b/watchtower/watchtower.env.example @@ -0,0 +1,5 @@ +# Check https://containrrr.dev/watchtower/arguments/ +# for full explanation of env vars + +TZ= +WATCHTOWER_LABEL_ENABLE=true