Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2025-03-20 17:22:52 +00:00
parent 34ea9afd01
commit 075daf1bb6

View File

@@ -44,6 +44,11 @@ Set your [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
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.
!!! note
To _explicitly_ set no password, set `FTLCONF_webserver_api_password: ''`
Using `pihole setpassword` for the purpose of setting an empty password will not persist between container restarts
#### `FTLCONF_dns_upstreams` (Default: `8.8.8.8;8.8.4.4`)
- Upstream DNS server(s) for Pi-hole to forward queries to, separated by a semicolon