Skip to content

Commit bf87af7

Browse files
authored
Revise Pi-hole Watchtower exclusion instructions
Removed full explaination, reduced to a single link. Signed-off-by: Alex Ferrarini <71784090+chippy01@users.noreply.github.com>
1 parent f8968f1 commit bf87af7

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -300,19 +300,7 @@ We have noticed that a lot of people use Watchtower to keep their Pi-hole contai
300300
- If you care about your data (logs/customizations), make sure you have it volume-mapped or it will be deleted in this step.
301301
- Recreate the container using the new image.
302302
303-
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:
304-
```yml
305-
services:
306-
pihole:
307-
container_name: pihole
308-
image: pihole/pihole:latest
309-
#---------------------------------------------------
310-
# Rest of the previous Docker-compose configuration
311-
#---------------------------------------------------
312-
labels:
313-
- "com.centurylinklabs.watchtower.enable=false"
314-
```
315-
This will result in Watchtower avoiding the update check on this container leaving it as it is without any interaction.
303+
If you wish to exclude the Pi-hole container from Watchtower's auto-update system take a look at [Full Exclude](https://containrrr.dev/watchtower/container-selection/#full_exclude) in Watchtower's docs.
316304
317305
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.
318306

0 commit comments

Comments
 (0)