Compare commits
No commits in common. "ed6de3ca1d27ac0502b7b96f3b75b7353a6dd33f" and "cae4f2bd41fc221f27836c526dba3a5d7fc12acb" have entirely different histories.
ed6de3ca1d
...
cae4f2bd41
2 changed files with 7 additions and 1 deletions
Binary file not shown.
|
|
@ -16,12 +16,18 @@
|
|||
containerConfig = {
|
||||
image = "docker.io/pihole/pihole:2025.06.2";
|
||||
publishPorts =
|
||||
[ "53:53/tcp" "53:53/udp" "80:80/tcp" "443:443/tcp" ];
|
||||
[ "53:53/tcp" "53:53/udp" "80:80/tcp" "443:443/tcp" "67:67/udp" ];
|
||||
environmentFiles = [ config.age.secrets.pihole-credentials.path ];
|
||||
volumes =
|
||||
[ "/etc/pihole:/etc/pihole:Z" "/etc/dnsmasq:/etc/dnsmasq:Z" ];
|
||||
addCapabilities = [ "NET_ADMIN" ];
|
||||
networks = [ "bridge" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.tmpfiles.rules =
|
||||
[ "d /etc/pihole 0770 root root -" "d /etc/dnsmasq 0770 root root -" ];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue