From d6e011d3ada697d7d2638a2fd7d010c4c613bb37 Mon Sep 17 00:00:00 2001 From: Iain Henderson Date: Sat, 22 Feb 2025 14:29:38 -0500 Subject: [PATCH] Document the usage of conventional environment variables in addition to exact matches of configuration names. Signed-off-by: Iain Henderson --- docs/docker/configuration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docker/configuration.md b/docs/docker/configuration.md index 96e51bb..90c4553 100644 --- a/docs/docker/configuration.md +++ b/docs/docker/configuration.md @@ -85,3 +85,9 @@ Adding packages here is the same as running `apk add ` inside the conta #### `PH_VERBOSE` (Default: `0`) Setting this environment variable to `1` will set `-x`, making the scripts that run on container startup more verbose. Useful for debugging only. + +### Variable Formatting + +Environment variables may be set in the format given here, or they may be entirely uppercase in the conventional manner. + +For example, both `FTLCONF_dns_upstreams` and `FTLCONF_DNS_UPSTREAMS` are functionally equivalent when used as environment variables.