second node
This commit is contained in:
parent
3ba69381a9
commit
6d49e9d7ba
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
# 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:
|
||||
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: '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.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
|
Loading…
Reference in New Issue