authentik fix

This commit is contained in:
2026-02-01 09:10:24 -06:00
parent a00a888676
commit 7dd49cd8e4
2 changed files with 5 additions and 2 deletions

View File

@@ -94,8 +94,7 @@ in {
"traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.service" = "${name}";
"traefik.http.routers.${name}.tls.certResolver" = "cloudflare"; "traefik.http.routers.${name}.tls.certResolver" = "cloudflare";
#"traefik.http.services.${name}.loadbalancer.server.url" = "http://192.168.101.1:${builtins.toString hostPort}"; "traefik.http.services.${name}.loadbalancer.server.url" = "http://192.168.101.1:${builtins.toString hostPort}";
"traefik.http.services.${name}.loadbalancer.server.port" = "9000";
}; };
volumes = [ volumes = [
"/etc/Authentik/custom-templates:/templates:rw" "/etc/Authentik/custom-templates:/templates:rw"

View File

@@ -57,6 +57,10 @@ in {
"traefik.http.services.${name}.loadbalancer.server.port" = "80"; "traefik.http.services.${name}.loadbalancer.server.port" = "80";
}; };
extraOptions = [
"--ip=192.168.101.12"
];
ports = [ ports = [
"${builtins.toString hostPort}:80" "${builtins.toString hostPort}:80"
"127.0.0.1:53:53/tcp" "127.0.0.1:53:53/tcp"