Skip to content

Commit 075daf1

Browse files
committed
Include note from pi-hole/docker-pi-hole#1778
Signed-off-by: Adam Warner <[email protected]>
1 parent 34ea9af commit 075daf1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docker/configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ Set your [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
4444

4545
To set a specific password for the web interface, use the environment variable `FTLCONF_webserver_api_password` (per the quick-start example). If this variable is not detected, and you have not already set one previously inside the container via `pihole setpassword` or `pihole-FTL --config webserver.api.password`, then a random password will be assigned on startup, and will be printed to the log. You can find this password with the command `docker logs pihole | grep random password` on your host to find this password. See [Notes On Web Interface Password](#notes-on-web-interface-password) below for usage examples.
4646

47+
!!! note
48+
To _explicitly_ set no password, set `FTLCONF_webserver_api_password: ''`
49+
50+
Using `pihole setpassword` for the purpose of setting an empty password will not persist between container restarts
51+
4752
#### `FTLCONF_dns_upstreams` (Default: `8.8.8.8;8.8.4.4`)
4853

4954
- Upstream DNS server(s) for Pi-hole to forward queries to, separated by a semicolon

0 commit comments

Comments
 (0)