Skip to content

Instantly share code, notes, and snippets.

@lucataco
Created February 8, 2025 02:59
Show Gist options
  • Save lucataco/ea9fee369d6b9001ac0c4e73c5aa090f to your computer and use it in GitHub Desktop.
Save lucataco/ea9fee369d6b9001ac0c4e73c5aa090f to your computer and use it in GitHub Desktop.
Coolify Pihole & Unbound script
services:
pihole-unbound:
image: 'bigbeartechworld/big-bear-pihole-unbound:2024.07.0'
environment:
- SERVICE_FQDN_PIHOLE_8080
- SERVICE_FQDN_PIHOLE_10443
- 'DNS1=127.0.0.1#5353'
- DNS2=no
- TZ=America/Chicago
- WEBPASSWORD=$SERVICE_PASSWORD_PIHOLE
volumes:
- 'pihole-etc:/etc/pihole'
- 'pihole-dnsmasq:/etc/dnsmasq.d'
ports:
- '53:53/tcp'
- '53:53/udp'
- '67:67/udp'
- '8080:80/tcp'
- '10443:443/tcp'
networks:
- pihole-network
deploy:
resources:
limits:
memory: 1846M
restart: unless-stopped
networks:
pihole-network:
driver: bridge
volumes:
pihole-etc: null
pihole-dnsmasq: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment