From 77c9778f61cd57f1228f0e606ca33d25b18573ea Mon Sep 17 00:00:00 2001 From: ChevySSinSD <47265616+ChevySSinSD@users.noreply.github.com> Date: Wed, 14 Sep 2022 23:21:25 -0700 Subject: [PATCH] Replace FTLCONF_REPLY_ADDR4 with FTLCONF_LOCAL_IPV4 (#153) --- one-container/README.md | 4 ++-- one-container/docker-compose.yaml | 2 +- two-container/docker-compose.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/one-container/README.md b/one-container/README.md index 495a160..efa6aad 100644 --- a/one-container/README.md +++ b/one-container/README.md @@ -18,7 +18,7 @@ First create a `.env` file to substitute variables for your deployment. | -------- | ------- | ----- | ---------- | | `TZ` | UTC | `` | Set your [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) to make sure logs rotate at local midnight instead of at UTC midnight. | `WEBPASSWORD` | random | `` | http://pi.hole/admin password. Run `docker logs pihole \| grep random` to find your random pass. -| `FTLCONF_REPLY_ADDR4` | unset | `` | Set to your server's LAN IP, used by web block modes and lighttpd bind address. +| `FTLCONF_LOCAL_IPV4` | unset | `` | Set to your server's LAN IP, used by web block modes and lighttpd bind address. | `REV_SERVER` | `false` | `<"true"\|"false">` | Enable DNS conditional forwarding for device name resolution | | `REV_SERVER_DOMAIN` | unset | Network Domain | If conditional forwarding is enabled, set the domain of the local network router | | `REV_SERVER_TARGET` | unset | Router's IP | If conditional forwarding is enabled, set the IP of the local network router | @@ -28,7 +28,7 @@ First create a `.env` file to substitute variables for your deployment. Example `.env` file in the same directory as your `docker-compose.yaml` file: ``` -FTLCONF_REPLY_ADDR4=192.168.1.10 +FTLCONF_LOCAL_IPV4=192.168.1.10 TZ=America/Los_Angeles WEBPASSWORD=QWERTY123456asdfASDF REV_SERVER=true diff --git a/one-container/docker-compose.yaml b/one-container/docker-compose.yaml index d822d91..a25fc1b 100644 --- a/one-container/docker-compose.yaml +++ b/one-container/docker-compose.yaml @@ -18,7 +18,7 @@ services: # - 5335:5335/tcp # Uncomment to enable unbound access on local server # - 22/tcp # Uncomment to enable SSH environment: - - FTLCONF_REPLY_ADDR4=${FTLCONF_REPLY_ADDR4} + - FTLCONF_LOCAL_IPV4=${FTLCONF_LOCAL_IPV4} - TZ=${TZ:-UTC} - WEBPASSWORD=${WEBPASSWORD} - WEBTHEME=${WEBTHEME:-default-light} diff --git a/two-container/docker-compose.yaml b/two-container/docker-compose.yaml index b0c6718..73549c3 100755 --- a/two-container/docker-compose.yaml +++ b/two-container/docker-compose.yaml @@ -16,7 +16,7 @@ services: - 80/tcp - 22/tcp environment: - - FTLCONF_REPLY_ADDR4=192.168.1.5 + - FTLCONF_LOCAL_IPV4=192.168.1.5 - WEBPASSWORD=${WEBPASSWORD} - PIHOLE_DNS_=192.168.1.6;192.168.1.13 volumes: