18 lines
478 B
YAML
18 lines
478 B
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
watchtower:
|
||
|
container_name: ${WATCHTOWER_CONTAINER_NAME}
|
||
|
image: ${WATCHTOWER_IMAGE}
|
||
|
restart: always
|
||
|
command: -i 60 --label-enable --cleanup --debug
|
||
|
# --debug
|
||
|
environment:
|
||
|
REPO_USER: ${REGISTRY_USER}
|
||
|
REPO_PASS: ${REGISTRY_PASSWORD}
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||
|
- ${PWD}/config.json:/config.json
|
||
|
- /etc/timezone:/etc/timezone:ro
|
||
|
- /etc/localtime:/etc/localtime:ro
|