You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
26
26
> [!CAUTION]
27
27
>
28
-
> ## !!! THIS VERSION CONTAINS BREAKING CHANGES
28
+
> ## !!! THE LATEST VERSION CONTAINS BREAKING CHANGES
29
29
>
30
30
> **Pi-hole v6 has been entirely redesigned from the ground up and contains many breaking changes.**
31
31
>
@@ -34,6 +34,8 @@
34
34
> If you are using volumes to persist your configuration, be careful.<br>Replacing any `v5` image *(`2024.07.0` and earlier)* with a `v6` image will result in updated configuration files. **These changes are irreversible**.
35
35
>
36
36
> Please read the README carefully before proceeding.
37
+
>
38
+
> https://docs.pi-hole.net/docker/
37
39
38
40
---
39
41
@@ -76,12 +78,16 @@ services:
76
78
volumes:
77
79
# For persisting Pi-hole's databases and common configuration file
78
80
- './etc-pihole:/etc/pihole'
79
-
# Uncomment the below if you have custom dnsmasq config files that you want to persist. Not needed for most starting fresh with Pi-hole v6. If you're upgrading from v5 you and have used this directory before, you should keep it enabled for the first v6 container start to allow for a complete migration. It can be removed afterwards
81
+
# Uncomment the below if you have custom dnsmasq config files that you want to persist. Not needed for most starting fresh with Pi-hole v6. If you're upgrading from v5 you and have used this directory before, you should keep it enabled for the first v6 container start to allow for a complete migration. It can be removed afterwards. Needs environment variable FTLCONF_misc_etc_dnsmasq_d: 'true'
80
82
#- './etc-dnsmasq.d:/etc/dnsmasq.d'
81
83
cap_add:
82
84
# See https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
83
85
# Required if you are using Pi-hole as your DHCP server, else not needed
84
86
- NET_ADMIN
87
+
# Required if you are using Pi-hole as your NTP client to be able to set the host's system time
88
+
- SYS_TIME
89
+
# Optional, if Pi-hole should get some more processing time
90
+
- SYS_NICE
85
91
restart: unless-stopped
86
92
```
87
93
@@ -140,6 +146,7 @@ To explicitly set no password, set `FTLCONF_webserver_api_password: ''`.
140
146
| `FTL_CMD` | `no-daemon` | `no-daemon -- <dnsmasq option>` | Customize dnsmasq startup options. e.g. `no-daemon -- --dns-forward-max 300` to increase max. number of concurrent dns queries on high load setups. |
141
147
| `DNSMASQ_USER` | unset | `<pihole\|root>` | Allows changing the user that FTLDNS runs as. Default: `pihole`, some systems such as Synology NAS may require you to change this to `root`.<br><br>(See [#963](https://github.com/pi-hole/docker-pi-hole/issues/963)) |
142
148
| `ADDITIONAL_PACKAGES`| unset | Space separated list of APKs | HERE BE DRAGONS. Mostly for development purposes, this just makes it easier for those of us that always like to have whatever additional tools we need inside the container for debugging. |
149
+
| `FTLCONF_misc_etc_dnsmasq_d`| false | `true\|false` | Load custom user configuration files from `/etc/dnsmasq.d/` |
143
150
144
151
Here is a rundown of other arguments for your docker-compose / docker run.
145
152
@@ -250,14 +257,15 @@ The preferred method is to clone this repository and build the image locally wit
0 commit comments