update compose
This commit is contained in:
parent
f887e503e2
commit
94f595a716
|
@ -44,3 +44,34 @@ services:
|
|||
# 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
|
||||
|
|
Loading…
Reference in New Issue