authentik fix
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user