fix ldap
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -6,7 +6,7 @@ entries:
|
||||
identifiers:
|
||||
name: ldap-provider
|
||||
attrs:
|
||||
base_dn: "DC=ldap,@AUTHENTIK_LDAP_DC_DOMAIN@"
|
||||
base_dn: "@AUTHENTIK_LDAP_DC_DOMAIN@"
|
||||
search_group: null
|
||||
authorization_flow:
|
||||
!Find [
|
||||
|
||||
Reference in New Issue
Block a user