Assign Pi-Hole its own network and static ip
This commit is contained in:
parent
4d88921b06
commit
07f06531fb
@ -12,4 +12,13 @@ services:
|
||||
volumes:
|
||||
- <docker directory>/pi-hole:/etc/pihole
|
||||
- <docker directory>/pi-hole/dns:/etc/dnsmasq.d
|
||||
networks:
|
||||
pi-hole:
|
||||
ipv4_address: <static ip>
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
pi-hole:
|
||||
name: pi-hole
|
||||
ipam:
|
||||
config:
|
||||
- subnet: <subnet>
|
Loading…
Reference in New Issue
Block a user