Fix config and variable mismatches found in the audit

This commit is contained in:
Djeex
2026-09-07 12:59:34 +02:00
parent 1860f90785
commit 3c85fec634
24 changed files with 105 additions and 57 deletions
+10 -2
View File
@@ -157,6 +157,11 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
```
::warning
`WATCHTOWER_REMOVE_VOLUMES=true` deletes a container's anonymous volumes as soon as it's updated. Combined with a `latest` tag, an automatic update can silently wipe data for any app that still stores something in an anonymous (unnamed) volume instead of a bind mount.
::
#### Set your environment variables
Fill in the `.env` section in Dockge with the following:
@@ -177,8 +182,11 @@ To have Watchtower monitor your other containers, add this to their `compose.yml
```yaml [compose.yaml]
---
labels:
- com.centurylinklabs.watchtower.enable=true
services:
yourapp:
# ...
labels:
- com.centurylinklabs.watchtower.enable=true
```
Then restart the modified stacks.