diff --git a/templates/admin/update_manager/index.html.twig b/templates/admin/update_manager/index.html.twig index 0b4eeceb..3e4483a6 100644 --- a/templates/admin/update_manager/index.html.twig +++ b/templates/admin/update_manager/index.html.twig @@ -296,17 +296,21 @@
{% trans %}update_manager.docker.setup_description{% endtrans %}
services:
- watchtower:
- image: containrrr/watchtower
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- environment:
- - WATCHTOWER_HTTP_API_UPDATE=true
- - WATCHTOWER_HTTP_API_TOKEN=your-secret-token
- - WATCHTOWER_LABEL_ENABLE=true
- ports:
- - "8080:8080"
+
+ # See documentation for full example: https://docs.part-db.de/installation/installation_docker.html
+ services:
+ watchtower:
+ image: ghcr.io/nicholas-fedor/watchtower:latest
+ container_name: watchtower
+ restart: unless-stopped
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ environment:
+ - WATCHTOWER_HTTP_API_UPDATE=true
+ - WATCHTOWER_HTTP_API_TOKEN=your-secret-token
+ - WATCHTOWER_LABEL_ENABLE=true
+ - WATCHTOWER_CLEANUP=true
+
WATCHTOWER_API_URL=http://watchtower:8080