diff options
Diffstat (limited to 'compose/pihole')
| -rw-r--r-- | compose/pihole/.DS_Store | bin | 0 -> 6148 bytes | |||
| -rw-r--r-- | compose/pihole/docker-compose.yaml | 26 |
2 files changed, 26 insertions, 0 deletions
diff --git a/compose/pihole/.DS_Store b/compose/pihole/.DS_Store Binary files differnew file mode 100644 index 0000000..deab89b --- /dev/null +++ b/compose/pihole/.DS_Store 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 + |
