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