From 259e3bd7555669d189193b10a956fc4841b22dcf Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 2 Jun 2024 15:23:04 +0100 Subject: [PATCH 1/2] Remove no-longer-existing env variable from Advanced Variables section Signed-off-by: Adam Warner --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 0954a70..3ef97b6 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,6 @@ To explicitly set no password, set `FTLCONF_webserver_api_password: ''` | Variable | Default | Value | Description | | -------- | ------- | ----- | ---------- | | `FTL_CMD` | `no-daemon` | `no-daemon -- ` | Customize the options with which dnsmasq gets started. e.g. `no-daemon -- --dns-forward-max 300` to increase max. number of concurrent dns queries on high load setups. | -| `FTLCONF_ENV_ONLY`|unset|``|If set to true, FTL will use default values for all config values unless explicitly set as an environment variable| | `DNSMASQ_USER` | unset | `` | Allows changing the user that FTLDNS runs as. Default: `pihole`, some systems such as Synology NAS may require you to change this to `root` (See [#963](https://github.com/pi-hole/docker-pi-hole/issues/963)) | | `ADDITIONAL_PACKAGES`| unset | Space separated list of APKs | HERE BE DRAGONS. Mostly for development purposes, this just makes it easier for those of us that always like to have whatever additional tools we need inside the container for debugging | From d44789054ce847c42e068caac0abea72f8a4ff60 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 2 Jun 2024 15:24:55 +0100 Subject: [PATCH 2/2] Add note about FTL reverting to default if env var is unset Signed-off-by: Adam Warner --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ef97b6..dc41fc4 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ There are multiple different ways to run DHCP from within your Docker Pi-hole co It is recommended that you use environment variables to configure the Pi-hole docker container (more details below), however if you are persisting your `/etc/pihole` directory, you may choose instead to set them via the web interface or by directly editing `pihole.toml`. -**Please Note**: Settings that are set via environment variables effectively become read-only, meaning that you will not be able to change them in the web interface or CLI. This is to ensure a "single source of truth" on the config. +**Please Note**: Settings that are set via environment variables effectively become read-only, meaning that you will not be able to change them in the web interface or CLI. This is to ensure a "single source of truth" on the config. If you later unset an environment variable, then FTL will revert to the default value for that setting. ### Web interface password