Compare commits

..

10 commits

Author SHA1 Message Date
Chris Crowe
33cebb3cfe
Upgrading base container to 2023.05.2 (#213) 2023-07-02 11:56:44 -07:00
Chris Crowe
55c88afaf8
Updating base container to 2023.02.2 (#202) 2023-03-22 08:26:30 -07:00
Chris Crowe
96038ebbfa
Upgrading base container to 2022.12 (#190) 2022-12-29 19:04:19 -08:00
Chris Crowe
226fddf83a
Upgrading base container to 2022.11.2 (#186) 2022-12-16 14:25:22 -08:00
Chris Crowe
025a0a20c3
Upgrading base container to 2022.11.1 (#181) 2022-11-24 11:50:15 -08:00
Mats Oftedal
e936dbb95c
Updated pihole container version to 2022.10 (#173)
Updated pihole container version to 2022.10
2022-10-12 22:04:55 -07:00
Xabi
d60ebfcd7d
Disable so-rcvbuf custom value (#166)
* Disable so-rcvbuf custom value

Using the default value is most of the time enough for a normal operation.

This removes an Unbound warning that complains about not having the requested 1m or more for kernel buffering.

* Corrected indentation

* Include additional information

Explained how to correctly enable so-rcvbuf.

Co-authored-by: burnbabyburn <xyz258@abwesend.de>

Co-authored-by: burnbabyburn <xyz258@abwesend.de>
2022-10-12 22:02:36 -07:00
Chris Crowe
ecee22c5f9
Updating base container to verison 2022.09.3 (#165) 2022-09-14 23:43:34 -07:00
MaHl111
2dd3f775c6
Update building and base container to 2022.09.2 (#161) 2022-09-14 23:22:37 -07:00
ChevySSinSD
77c9778f61
Replace FTLCONF_REPLY_ADDR4 with FTLCONF_LOCAL_IPV4 (#153) 2022-09-14 23:21:25 -07:00
7 changed files with 12 additions and 9 deletions

View file

@ -18,7 +18,7 @@ First create a `.env` file to substitute variables for your deployment.
| -------- | ------- | ----- | ---------- |
| `TZ` | UTC | `<Timezone>` | 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 | `<Admin password>` | http://pi.hole/admin password. Run `docker logs pihole \| grep random` to find your random pass.
| `FTLCONF_REPLY_ADDR4` | unset | `<Host's IP>` | Set to your server's LAN IP, used by web block modes and lighttpd bind address.
| `FTLCONF_LOCAL_IPV4` | unset | `<Host's IP>` | 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

View file

@ -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}

View file

@ -1,4 +1,5 @@
FROM pihole/pihole:2022.08.2
ARG PIHOLE_VERSION
FROM pihole/pihole:${PIHOLE_VERSION:-latest}
RUN apt update && apt install -y unbound
COPY lighttpd-external.conf /etc/lighttpd/external.conf

View file

@ -1 +1 @@
2022.08.2
2023.05.2

View file

@ -1,6 +1,7 @@
#!/bin/bash
# Run this once: docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:`cat VERSION` --push .
docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:latest --push .
PIHOLE_VER=`cat VERSION`
docker buildx build --build-arg PIHOLE_VERSION=$PIHOLE_VER --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:$PIHOLE_VER --push .
docker buildx build --build-arg PIHOLE_VERSION=$PIHOLE_VER --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:latest --push .

View file

@ -44,7 +44,8 @@ server:
num-threads: 1
# Ensure kernel buffer is large enough to not lose messages in traffic spikes
so-rcvbuf: 1m
# Be aware that if enabled (requires CAP_NET_ADMIN or privileged), the kernel buffer must have the defined amount of memory, if not, a warning will be raised.
#so-rcvbuf: 1m
# Ensure privacy of local IP ranges
private-address: 192.168.0.0/16

View file

@ -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: