diff --git a/server/config/pihole/.env b/archives/server/pihole/.env similarity index 100% rename from server/config/pihole/.env rename to archives/server/pihole/.env diff --git a/server/config/pihole/docker-compose.yml b/archives/server/pihole/docker-compose.yml similarity index 100% rename from server/config/pihole/docker-compose.yml rename to archives/server/pihole/docker-compose.yml diff --git a/server/config/traefik/config/pihole.yaml b/server/config/traefik/config/pihole.yaml new file mode 100644 index 0000000..350e880 --- /dev/null +++ b/server/config/traefik/config/pihole.yaml @@ -0,0 +1,21 @@ +http: + routers: + pihole: + rule: "Host(`pihole.jafner.net`)" + entryPoints: "websecure" + middlewares: "lan-only@file,pihole@file" + service: "pihole@file" + tls: + certResolver: "lets-encrypt" + + middlewares: + pihole: + addprefix: + prefix: "/admin" + + services: + pihole: + loadBalancer: + servers: + - url: "http://192.168.1.22/" + \ No newline at end of file