78 lines
2.3 KiB
YAML
78 lines
2.3 KiB
YAML
---
|
|
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
|
|
|
|
volumes:
|
|
pihole-etc:
|
|
driver: local
|
|
pihole-dnsmasq:
|
|
driver: local
|
|
# pihole-log:
|
|
#driver: local
|
|
|
|
networks:
|
|
dns_local_net:
|
|
external: true
|
|
|
|
services:
|
|
pihole1:
|
|
container_name: pihole1
|
|
image: pihole/pihole:latest
|
|
restart: unless-stopped
|
|
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
|
#ports:
|
|
# - "53:53/tcp"
|
|
# - "53:53/udp"
|
|
# - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
|
|
# - "80:80/tcp"
|
|
environment:
|
|
TZ: 'America/Indianapolis'
|
|
WEBPASSWORD: 'forty6and2'
|
|
FTLCONF_LOCAL_IPV4: '10.200.53.241'
|
|
PIHOLE_DNS_: '8.8.8.8;8.8.4.4;10.200.53.254;10.200.254.254'
|
|
DHCP_ACTIVE: 'false'
|
|
VIRTUAL_HOST: 'dns1.in.thelinuxpro.net'
|
|
TEMPERATUREUNIT: 'f'
|
|
QUERY_LOGGING: 'true'
|
|
WEBTHEME: 'default-dark'
|
|
volumes:
|
|
- pihole-etc:/etc/pihole
|
|
- pihole-dnsmasq:/etc/dnsmasq.d
|
|
#- pihole-log:/var/log
|
|
networks:
|
|
dns_local_net:
|
|
ipv4_address: 10.200.53.241
|
|
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
|
#cap_add:
|
|
#- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
|
|
|
|
pihole2:
|
|
container_name: pihole2
|
|
image: pihole/pihole:latest
|
|
restart: unless-stopped
|
|
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
|
#ports:
|
|
# - "53:53/tcp"
|
|
# - "53:53/udp"
|
|
# - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
|
|
# - "80:80/tcp"
|
|
environment:
|
|
TZ: 'America/Indianapolis'
|
|
WEBPASSWORD: 'forty6and2'
|
|
FTLCONF_LOCAL_IPV4: '10.200.53.242'
|
|
PIHOLE_DNS_: '8.8.8.8;8.8.4.4;10.200.53.254;10.200.254.254'
|
|
DHCP_ACTIVE: 'false'
|
|
VIRTUAL_HOST: 'dns2.in.thelinuxpro.net'
|
|
TEMPERATUREUNIT: 'f'
|
|
QUERY_LOGGING: 'true'
|
|
WEBTHEME: 'default-dark'
|
|
volumes:
|
|
- pihole-etc:/etc/pihole
|
|
- pihole-dnsmasq:/etc/dnsmasq.d
|
|
#- pihole-log:/var/log
|
|
networks:
|
|
dns_local_net:
|
|
ipv4_address: 10.200.53.242
|
|
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
|
#cap_add:
|
|
#- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
|