1
0
Fork 0
mirror of https://github.com/sujiba/pihole-unbound-hyperlocal.git synced 2025-07-09 21:35:13 +02:00
pihole-unbound-hyperlocal/docker-compose.yml

31 lines
1.4 KiB
YAML
Raw Normal View History

---
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole-unbound:
# You can also use latest | yyyy.mm.x | dev | yyyy.mm.x-dev
image: ghcr.io/sujiba/pihole-unbound-hyperlocal:latest
container_name: pihole-unbound
hostname: raspi-01
ports:
- "53:53/tcp" # DNS Ports
- "53:53/udp" # DNS Ports
- "80:80/tcp" # Default HTTP Port or an alternative port if you use a reverse proxy like nginx.
- "443:443/tcp" # Default HTTPs Port or an alternative port if you use a reverse proxy like nginx. FTL will generate a self-signed certificate
# - "67:67/udp" # Uncomment if you are using Pi-hole as your DHCP server
# - "123:123/udp" # Uncomment if you are using Pi-hole as your NTP server
# - 5335:5335/tcp # For testing purposes, uncomment to enable unbound access on local server
env_file:
- ./pihole.env
volumes:
# For persisting Pi-hole's databases and common configuration file
- ./etc-pihole:/etc/pihole
# cap_add:
# See https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
# Required if you are using Pi-hole as your DHCP server, else not needed
# - NET_ADMIN
# Required if you are using Pi-hole as your NTP client to be able to set the host's system time
# - SYS_TIME
# Optional, if Pi-hole should get some more processing time
# - SYS_NICE
restart: unless-stopped