Wireguard Pihole
Wireguard Pihole
8"
services:
wg-easy:
environment:
# ⚠️ Change the server's hostname (clients will connect to):
- WG_HOST=compucenter33servidores.duckdns.org
pihole:
image: pihole/pihole
container_name: pihole
environment:
# ⚠️ Change the Web UI Password:
- WEBPASSWORD=12345678
volumes:
- '~/.pihole/etc-pihole:/etc/pihole'
- './.pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
ports:
- "53:53/tcp"
- "53:53/udp"
- "5353:80/tcp"
restart: unless-stopped
networks:
wg-easy:
ipv4_address: 10.8.1.3
networks:
wg-easy:
ipam:
config:
- subnet: 10.8.1.0/24