13 lines
378 B
Plaintext
13 lines
378 B
Plaintext
|
---
|
||
|
version: '3'
|
||
|
|
||
|
# watchtower updates container images with mutable tags.
|
||
|
services:
|
||
|
watchtower:
|
||
|
image: 'containrrr/watchtower:1.1.6'
|
||
|
# Use label `com.centurylinklabs.watchtower.enable="false"` to disable on container!
|
||
|
command: '--cleanup --schedule "0 0 4 * * *"' # UTC
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- '/var/run/docker.sock:/var/run/docker.sock'
|