18 lines
455 B
YAML
18 lines
455 B
YAML
services:
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
container_name: watchtower
|
|
restart: always
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
env_file:
|
|
- ./.env
|
|
environment:
|
|
- WATCHTOWER_CLEANUP=true
|
|
- WATCHTOWER_POLL_INTERVAL=86400
|
|
- DOCKER_API_VERSION=1.44
|
|
- WATCHTOWER_HTTP_API_METRICS=true
|
|
- WATCHTOWER_HTTP_API_TOKEN=${HOMEPAGE_VAR_WATCHTOWER_KEY}
|
|
ports:
|
|
- 8080:8080
|