pihole/docker-compose.yml

56 lines
1.4 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
networks:
dns_local_net:
external: true
services:
pihole1:
container_name: pihole1
image: pihole/pihole:latest
restart: unless-stopped
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
networks:
dns_local_net:
ipv4_address: 10.200.53.241
pihole2:
container_name: pihole2
image: pihole/pihole:latest
restart: unless-stopped
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
networks:
dns_local_net:
ipv4_address: 10.200.53.242