mirror of
https://github.com/pi-hole/docs.git
synced 2025-12-20 03:08:45 +00:00
Include note from https://github.com/pi-hole/docker-pi-hole/pull/1778
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -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.
|
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`)
|
#### `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
|
- Upstream DNS server(s) for Pi-hole to forward queries to, separated by a semicolon
|
||||||
|
|||||||
Reference in New Issue
Block a user