Pi-hole
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "8085:80/tcp"
- "7443:443/tcp"
dns:
- 8.8.8.8
- 1.1.1.1
environment:
TZ: 'Europe/Lisbon'
FTLCONF_webserver_api_password: 'mysecret'
PIHOLE_DNS_: 8.8.8.8;1.1.1.1
PIHOLE_UID: 1000
PIHOLE_GID: 1000
FTLCONF_dns_listeningMode: "ALL"
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
cap_add:
- NET_ADMIN