Login rule
This commit is contained in:
@@ -31,6 +31,13 @@ in {
|
||||
imageStream = image;
|
||||
port = 3000;
|
||||
secret = name;
|
||||
extraLabels = {
|
||||
"traefik.http.routers.${containerCfg.subdomain}-login.rule" = "Host(`${containerCfg.subdomain}.${serverCfg.domain}`) && Path(`/login`) ";
|
||||
"traefik.http.routers.${containerCfg.subdomain}-login.middlewares" = if serverCfg.containers?authentik then "authentik" else "";
|
||||
"traefik.http.routers.${containerCfg.subdomain}-login.priority" = "100";
|
||||
"traefik.http.routers.${containerCfg.subdomain}-login.entrypoints" = "web-secure";
|
||||
"traefik.http.routers.${containerCfg.subdomain}-login.tls" = "true";
|
||||
};
|
||||
overrides = {
|
||||
cmd = [ "--config" "/data/config.yml" ];
|
||||
volumes = [
|
||||
|
||||
Reference in New Issue
Block a user