diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:16:38 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:16:38 -0700 |
| commit | 7807482cf67e0b537ee3f350e1f126da9245a7a7 (patch) | |
| tree | 0ace2122c0a8bfd03a8e52c8d6d076e539fe589f /compose/pihole/docker-compose.yaml | |
Diffstat (limited to 'compose/pihole/docker-compose.yaml')
| -rw-r--r-- | compose/pihole/docker-compose.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/compose/pihole/docker-compose.yaml b/compose/pihole/docker-compose.yaml new file mode 100644 index 0000000..ee11fc7 --- /dev/null +++ b/compose/pihole/docker-compose.yaml @@ -0,0 +1,26 @@ +version: "3" + +# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ +services: + pihole: + container_name: pihole + image: pihole/pihole:latest + hostname: pihole + # For DHCP it is recommended to remove these ports and instead add: network_mode: "host" + ports: + - "53:53/tcp" + - "53:53/udp" + - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server + - "80:80/tcp" + environment: + TZ: 'America/Chicago' + WEBPASSWORD: '946731' + # Volumes store your data between container upgrades + volumes: + - './etc-pihole:/etc/pihole' + - './etc-dnsmasq.d:/etc/dnsmasq.d' + # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities + cap_add: + - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed + restart: unless-stopped + |
