You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
557 B
YAML

# docker-compose.yml
# Docker Hub: https://hub.docker.com/r/containrrr/watchtower
# Documentation: https://containrrr.dev/watchtower/
# Watchtower is very particular about it's variables, hence the odd format
networks:
<NETWORK_NAME>:
external: true
services:
watchtower:
container_name: watchtower
environment:
TZ: <TZ>
<SEE_DOCUMENTATION>: <FOR_VARIABLES>
image: containrrr/watchtower:<VERSION>
networks:
- <NETWORK_NAME>
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock