From 07f06531fbbe59b783f356e3d1778248394f8518 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Tue, 9 Jan 2024 13:44:54 -0800 Subject: [PATCH] Assign Pi-Hole its own network and static ip --- pi-hole.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pi-hole.yaml b/pi-hole.yaml index a98ff80..8cdf6a6 100644 --- a/pi-hole.yaml +++ b/pi-hole.yaml @@ -12,4 +12,13 @@ services: volumes: - /pi-hole:/etc/pihole - /pi-hole/dns:/etc/dnsmasq.d - restart: unless-stopped \ No newline at end of file + networks: + pi-hole: + ipv4_address: + restart: unless-stopped +networks: + pi-hole: + name: pi-hole + ipam: + config: + - subnet: \ No newline at end of file