adding pihole

This commit is contained in:
2025-07-23 19:41:40 +02:00
parent 9f707e02da
commit ce1d3af2a2
3 changed files with 8 additions and 4 deletions

View File

@@ -133,6 +133,7 @@
./server/jellyseerr
./server/jellyfin
./server/qbittorrent
./server/pihole
./server/unbound
./server/uptime-kuma
];

View File

@@ -51,8 +51,8 @@ in {
volumes = ["/var/lib/pihole:/etc/pihole/"];
environment = {
CUSTOM_CACHE_SIZE = "0";
PIHOLE_DNS_ = "10.88.0.1#5335";
DNSSEC = "false";
# PIHOLE_DNS_ = "10.88.0.1#5335";
# DNSSEC = "false";
REV_SERVER = "true";
VIRTUAL_HOST = "${unit}.${srv.domain}";
WEBTHEME = "default-darker";
@@ -69,7 +69,7 @@ in {
services.caddy.virtualHosts."${cfg.url}" = {
useACMEHost = srv.domain;
extraConfig = ''
reverse_proxy http://127.0.0.1:8686
reverse_proxy http://127.0.0.1:8053
'';
};
};