Added environment variables for watchtower
This commit is contained in:
parent
d81faef133
commit
0a0a2f12c2
1 changed files with 7 additions and 0 deletions
|
|
@ -23,6 +23,13 @@ services:
|
|||
- "--interval"
|
||||
- "30"
|
||||
- "--rolling-restart"
|
||||
environment:
|
||||
- WATCHTOWER_NOTIFICATIONS=email
|
||||
- WATCHTOWER_POLL_INTERVAL=30
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_ROLLING_RESTART=true
|
||||
- REPO_USER=${GITLAB_USER}
|
||||
- REPO_PASS=${GITLAB_PASS}
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue