This commit is contained in:
soraefir
2026-05-13 22:26:18 +02:00
parent 19cec13a43
commit 7381a17f87
2 changed files with 2 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ in {
server = builder.mkContainer {
subdomain = containerCfg.subdomain;
image = "ghcr.io/goauthentik/server:${version}";
port = 9000;
secret = name;
extraEnv = {
AUTHENTIK_REDIS__HOST = builder.host;
@@ -47,7 +46,6 @@ in {
};
overrides = {
cmd = [ "server" ];
ports = if containerCfg.port!=null then [ "${toString containerCfg.port}:9000" ] else [];
volumes = [
"${serverCfg.configPath}/authentik/media:/media"
"${serverCfg.configPath}/authentik/templates:/templates"
@@ -82,7 +80,7 @@ in {
image = "ghcr.io/goauthentik/ldap:${version}";
secret = name;
extraEnv = {
"AUTHENTIK_HOST" = "http://${builder.host}:9000";
"AUTHENTIK_HOST" = "http://authentik-server:9000";
"AUTHENTIK_INSECURE" = "false";
};
overrides = {