Guest User

Untitled

a guest
May 18th, 2024
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | Cybersecurity | 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. # For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
  9. ports:
  10. - "53:53/tcp"
  11. - "53:53/udp"
  12. - "80:80/tcp"
  13. environment:
  14. TZ: 'America/Brasilia'
  15. WEBPASSWORD: 'coloque-uma-senha-aqui'
  16. # Volumes store your data between container upgrades
  17. volumes:
  18. - './etc-pihole:/etc/pihole'
  19. - './etc-dnsmasq.d:/etc/dnsmasq.d'
  20. # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
  21. restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment