Advertisement
Guest User

Untitled

a guest
Jan 19th, 2024
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. version: "3"
  2.  
  3. # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
  4. services:
  5. pihole:
  6. container_name: pihole
  7. image: pihole/pihole:latest
  8. ports:
  9. - "53:53/tcp" # DNS TCP
  10. - "53:53/udp" # DNS UDP
  11. - "8888:80/tcp" # WEB ADMIN GUI
  12. environment:
  13. TZ: 'Europe/London'
  14. WEBPASSWORD: 'mypassword'
  15. # Volumes store your data between container upgrades
  16. volumes:
  17. - type: bind
  18. source: ./data/pihole
  19. target: /etc/pihole
  20. - type: bind
  21. source: ./data/dnsmasq
  22. target: /etc/dnsmasq.d
  23. # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
  24. restart: unless-stopped
  25. labels:
  26. - "com.centurylinklabs.watchtower.enable=true"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement