Well that didn't work.
Frickin docker, man.
This commit is contained in:
parent
d27bb84cf0
commit
674c91354b
@ -81,7 +81,7 @@ in {
|
|||||||
bootstrap-dns = "1.1.1.1";
|
bootstrap-dns = "1.1.1.1";
|
||||||
allowed-networks =
|
allowed-networks =
|
||||||
[ "1.1.1.1/32" "1.0.0.1/32" "10.0.0.0/16" "localhost" "link-local" ];
|
[ "1.1.1.1/32" "1.0.0.1/32" "10.0.0.0/16" "localhost" "link-local" ];
|
||||||
listen-ips = [ "127.0.0.1" ];
|
listen-ips = [ primary-ip ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -99,11 +99,10 @@ in {
|
|||||||
image = "pihole/pihole:2021.10";
|
image = "pihole/pihole:2021.10";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ports = [ "5353:53/tcp" "5353:53/udp" "3080:80/tcp" ];
|
ports = [ "5353:53/tcp" "5353:53/udp" "3080:80/tcp" ];
|
||||||
extraOptions = [ "--add-host=host.docker.internal:host-dns" ];
|
|
||||||
environment = {
|
environment = {
|
||||||
# ServerIP = primary-ip;
|
# ServerIP = primary-ip;
|
||||||
VIRTUAL_HOST = "dns-hole.sea.fudo.org";
|
VIRTUAL_HOST = "dns-hole.sea.fudo.org";
|
||||||
DNS1 = "host-dns#${toString dns-proxy-port}";
|
DNS1 = "${primary-ip}#${toString dns-proxy-port}";
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/state/pihole/etc-pihole/:/etc/pihole/"
|
"/state/pihole/etc-pihole/:/etc/pihole/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user