Initial commit
This commit is contained in:
commit
6f5212ee28
3 changed files with 32 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
.env
|
||||||
|
conf/
|
||||||
|
etc-dnsmasq.d/
|
||||||
|
etc-pihole/
|
4
README.md
Normal file
4
README.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Configuration for a local PiHole setup
|
||||||
|
===========================================
|
||||||
|
|
||||||
|
This repository contains a docker compose file for a local PiHole setup. Variables used in the docker compose file need to be provided in an .env file.
|
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
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:2023.11.0
|
||||||
|
# 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
|
||||||
|
- "8000:80/tcp"
|
||||||
|
environment:
|
||||||
|
TZ: 'Europe/Berlin'
|
||||||
|
WEBPASSWORD: ${WEB_PASSWORD}
|
||||||
|
FTLCONF_LOCAL_IPV4: ${FTLCONF_LOCAL_IPV4}
|
||||||
|
FTLCONF_LOCAL_IPV6: ${FTLCONF_LOCAL_IPV6}
|
||||||
|
FTLCONF_RATE_LIMIT: '0/0'
|
||||||
|
# Volumes store your data between container upgrades
|
||||||
|
volumes:
|
||||||
|
- './etc-pihole:/etc/pihole'
|
||||||
|
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in a new issue