Skip to content

Commit 3214973

Browse files
committed
Include FTLCONF_dns_listeningMode: 'all' in the compose example file
Signed-off-by: yubiuser <[email protected]>
1 parent 29b604a commit 3214973

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ services:
7474
TZ: 'Europe/London'
7575
# Set a password to access the web interface. Not setting one will result in a random password being assigned
7676
FTLCONF_webserver_api_password: 'correct horse battery staple'
77+
# If using Docker's default `bridge` network setting the dns listening mode should be set to 'all'
78+
FTLCONF_dns_listeningMode: 'all'
7779
# Volumes store your data between container upgrades
7880
volumes:
7981
# For persisting Pi-hole's databases and common configuration file
@@ -92,7 +94,6 @@ services:
9294
```
9395
9496
2. Run `docker compose up -d` to build and start pi-hole (Syntax may be `docker-compose` on older systems).
95-
3. If using Docker's default `bridge` network setting, set the environment variable `FTLCONF_dns_listeningMode` to `all`.
9697

9798
> [!NOTE]
9899
> Volumes are recommended for persisting data across container re-creations for updating images.

0 commit comments

Comments
 (0)