Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- ports:
- - "53:53/tcp" # DNS TCP
- - "53:53/udp" # DNS UDP
- - "8888:80/tcp" # WEB ADMIN GUI
- environment:
- TZ: 'Europe/London'
- WEBPASSWORD: 'mypassword'
- # Volumes store your data between container upgrades
- volumes:
- - type: bind
- source: ./data/pihole
- target: /etc/pihole
- - type: bind
- source: ./data/dnsmasq
- target: /etc/dnsmasq.d
- # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
- restart: unless-stopped
- labels:
- - "com.centurylinklabs.watchtower.enable=true"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement