simplify docker compose template
This commit is contained in:
parent
dc29673c29
commit
5256929186
1 changed files with 3 additions and 6 deletions
|
|
@ -478,8 +478,6 @@
|
|||
environment:
|
||||
- TOWEROPS_API_URL={url(@socket, ~p"/")}
|
||||
- TOWEROPS_AGENT_TOKEN={@new_token.token}
|
||||
volumes:
|
||||
- ./data:/data
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
- "com.centurylinklabs.watchtower.scope=towerops"
|
||||
|
|
@ -489,15 +487,14 @@
|
|||
container_name: towerops-watchtower
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# Check for updates every 15 minutes (900 seconds)
|
||||
- WATCHTOWER_POLL_INTERVAL=900
|
||||
# Check for updates every day
|
||||
- WATCHTOWER_POLL_INTERVAL=86400
|
||||
- WATCHTOWER_LABEL_ENABLE=true
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_LOG_LEVEL=info
|
||||
# Use latest Docker API version
|
||||
- DOCKER_API_VERSION=1.44
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock</textarea>
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue