Added pihole config
This commit is contained in:
37
pihole.yaml
Normal file
37
pihole.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
|
||||
#
|
||||
# !!You need to create a `macvlan` docker network!!
|
||||
|
||||
networks:
|
||||
pihole_macvlan:
|
||||
external: true
|
||||
|
||||
services:
|
||||
pihole:
|
||||
container_name: pihole
|
||||
image: pihole/pihole:latest
|
||||
ports:
|
||||
# DNS Ports
|
||||
- 53:53/tcp
|
||||
- 53:53/udp
|
||||
# Default HTTP Port
|
||||
- 80:80/tcp
|
||||
# Default HTTPs Port. FTL will generate a self-signed certificate
|
||||
- 443:443/tcp
|
||||
environment:
|
||||
TZ: 'Europe/Budapest'
|
||||
FTLCONF_dns_listeningMode: 'all'
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 1.0.0.1
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
volumes:
|
||||
- /docker/pihole/etc-pihole:/etc/pihole
|
||||
- /docker/pihole/etc-dnsmasq.d:/etc/dnsmasq.d
|
||||
cap_add:
|
||||
- SYS_NICE
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
pihole_macvlan:
|
||||
ipv4_address: <ip-address>
|
||||
Reference in New Issue
Block a user