diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d96d2657e..844ad1f8e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -20,7 +20,7 @@ "GIT_EDITOR": "nano" }, "mounts": [ - "type=bind,source=/home/${localEnv:USER}/.ssh,target=/home/node/.ssh,readonly" + "type=bind,source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,readonly" ], "forwardPorts": [8000] } diff --git a/docs/docker/configuration.md b/docs/docker/configuration.md index 56670256e..6e7d6b8ed 100644 --- a/docs/docker/configuration.md +++ b/docs/docker/configuration.md @@ -44,6 +44,10 @@ 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