You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: one-container/README.md
+17-15Lines changed: 17 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -2,33 +2,33 @@
2
2
3
3
## Description
4
4
5
-
This Docker deployment runs both Pi-Hole and Unbound in a single container.
5
+
This Docker deployment runs both Pi-Hole and Unbound in a single container.
6
6
7
7
The base image for the container is the [official Pi-Hole container](https://hub.docker.com/r/pihole/pihole), with an extra build step added to install the Unbound resolver directly into to the container based on [instructions provided directly by the Pi-Hole team](https://docs.pi-hole.net/guides/unbound/).
8
8
9
9
## Usage
10
10
11
-
First create a `.env` file to substitute variables for your deployment.
11
+
First create a `.env` file to substitute variables for your deployment.
12
12
13
+
### Pi-hole environment variables
13
14
14
-
### Required environment variables
15
+
> Vars and descriptions replicated from the [official pihole container](https://github.com/pi-hole/docker-pi-hole/#environment-variables):
15
16
16
-
> Vars and descriptions replicated from the [official pihole container](https://github.com/pi-hole/docker-pi-hole/):
17
-
18
-
| Docker Environment Var | Description|
19
-
| --- | --- |
20
-
| `ServerIP: <Host's IP>`<br/> | **--net=host mode requires** Set to your server's LAN IP, used by web block modes and lighttpd bind address
21
-
| `TZ: <Timezone>`<br/> | 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.
22
-
| `WEBPASSWORD: <Admin password>`<br/> | http://pi.hole/admin password. Run `docker logs pihole \| grep random` to find your random pass.
23
-
| `REV_SERVER: <"true"\|"false">`<br/> | Enable DNS conditional forwarding for device name resolution
24
-
| `REV_SERVER_DOMAIN: <Network Domain>`<br/> | If conditional forwarding is enabled, set the domain of the local network router
25
-
| `REV_SERVER_TARGET: <Router's IP>`<br/> | If conditional forwarding is enabled, set the IP of the local network router
26
-
| `REV_SERVER_CIDR: <Reverse DNS>`<br/>| If conditional forwarding is enabled, set the reverse DNS zone (e.g. `192.168.0.0/24`)
17
+
| Variable | Default | Value | Description |
18
+
| -------- | ------- | ----- | ---------- |
19
+
| `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.
20
+
| `WEBPASSWORD` | random | `<Admin password>` | http://pi.hole/admin password. Run `docker logs pihole \| grep random` to find your random pass.
21
+
| `FTLCONF_REPLY_ADDR4` | unset | `<Host's IP>` | Set to your server's LAN IP, used by web block modes and lighttpd bind address.
22
+
|`REV_SERVER`|`false`|`<"true"\|"false">`| Enable DNS conditional forwarding for device name resolution |
23
+
|`REV_SERVER_DOMAIN`| unset | Network Domain | If conditional forwarding is enabled, set the domain of the local network router |
24
+
|`REV_SERVER_TARGET`| unset | Router's IP | If conditional forwarding is enabled, set the IP of the local network router |
25
+
|`REV_SERVER_CIDR`| unset | Reverse DNS | If conditional forwarding is enabled, set the reverse DNS zone (e.g. `192.168.0.0/24`) |
26
+
| `WEBTHEME` | `default-light` | `<"default-dark"\|"default-darker"\|"default-light"\|"default-auto"\|"lcars">`| User interface theme to use.
27
27
28
28
Example `.env` file in the same directory as your `docker-compose.yaml` file:
0 commit comments