Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,20 @@ We have noticed that a lot of people use Watchtower to keep their Pi-hole contai
- If you care about your data (logs/customizations), make sure you have it volume-mapped or it will be deleted in this step.
- Recreate the container using the new image.

If you wish to exclude the Pi-hole container from Watchtower's auto-update system you can update the Docker-compose in the following way:
```yml
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
#---------------------------------------------------
# Rest of the previous Docker-compose configuration
#---------------------------------------------------
labels:
- "com.centurylinklabs.watchtower.enable=false"
```
This will result in Watchtower avoiding the update check on this container leaving it as it is without any interaction.

Pi-hole is an integral part of your network, don't let it fall over because of an unattended update in the middle of the night.

# User Feedback
Expand Down