This commit is contained in:
kameron on pi502 2024-07-17 14:40:26 -04:00
parent bd9c1ec430
commit 60caa0dc13
1 changed files with 0 additions and 22 deletions

View File

@ -6,8 +6,6 @@ volumes:
driver: local driver: local
pihole-dnsmasq: pihole-dnsmasq:
driver: local driver: local
# pihole-log:
#driver: local
networks: networks:
dns_local_net: dns_local_net:
@ -18,12 +16,6 @@ services:
container_name: pihole1 container_name: pihole1
image: pihole/pihole:latest image: pihole/pihole:latest
restart: unless-stopped 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: environment:
TZ: 'America/Indianapolis' TZ: 'America/Indianapolis'
WEBPASSWORD: 'forty6and2' WEBPASSWORD: 'forty6and2'
@ -37,24 +29,14 @@ services:
volumes: volumes:
- pihole-etc:/etc/pihole - pihole-etc:/etc/pihole
- pihole-dnsmasq:/etc/dnsmasq.d - pihole-dnsmasq:/etc/dnsmasq.d
#- pihole-log:/var/log
networks: networks:
dns_local_net: dns_local_net:
ipv4_address: 10.200.53.241 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: pihole2:
container_name: pihole2 container_name: pihole2
image: pihole/pihole:latest image: pihole/pihole:latest
restart: unless-stopped 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: environment:
TZ: 'America/Indianapolis' TZ: 'America/Indianapolis'
WEBPASSWORD: 'forty6and2' WEBPASSWORD: 'forty6and2'
@ -68,10 +50,6 @@ services:
volumes: volumes:
- pihole-etc:/etc/pihole - pihole-etc:/etc/pihole
- pihole-dnsmasq:/etc/dnsmasq.d - pihole-dnsmasq:/etc/dnsmasq.d
#- pihole-log:/var/log
networks: networks:
dns_local_net: dns_local_net:
ipv4_address: 10.200.53.242 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