Watchtower
Usage of Watchtower is recommended only because Synology does not provide a feature to auto-update containers, neither a simple notification for projects or images with tags other than latest, when a new image is available. See this discussion for more details.
Create new image from nickfedor/watchtower
Create new container watchtower
Enable auto-restart
Environment:
WATCHTOWER_CLEANUP=true
WATCHTOWER_SCHEDULE=0 0 2 * * *
Volume Settings:
/docker/docker.sock -> /var/run/docker.
Skip certain containers
Projects
You can skip certain containers (services) by adding the label com.centurylinklabs.watchtower.enable=false
to the container you want to skip.
Here below an example:
services:
redis:
image: redis:alpine
container_name: nextcloud-cache
restart: unless-stopped
volumes:
- cache:/data
healthcheck:
test: redis-cli ping || exit 1
labels:
- com.centurylinklabs.watchtower.enable=false
Assumptions
You have installed Container Manager
The folder
/volume1/docker
has been created
References
Last updated