Compare commits
2 commits
cae4f2bd41
...
ed6de3ca1d
| Author | SHA1 | Date | |
|---|---|---|---|
| ed6de3ca1d | |||
| cfc0ff4950 |
2 changed files with 1 additions and 7 deletions
Binary file not shown.
|
|
@ -16,18 +16,12 @@
|
|||
containerConfig = {
|
||||
image = "docker.io/pihole/pihole:2025.06.2";
|
||||
publishPorts =
|
||||
[ "53:53/tcp" "53:53/udp" "80:80/tcp" "443:443/tcp" "67:67/udp" ];
|
||||
[ "53:53/tcp" "53:53/udp" "80:80/tcp" "443:443/tcp" ];
|
||||
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