keycloak #1
@@ -29,7 +29,7 @@ in
|
|||||||
createLocally = false;
|
createLocally = false;
|
||||||
username = "keycloak";
|
username = "keycloak";
|
||||||
name = "keycloak";
|
name = "keycloak";
|
||||||
passwordFile = config.sops.secrets."keycloak/db_password".path;
|
passwordFile = config.sops.secrets.postgres-password.path;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
hostname = cfg.host;
|
hostname = cfg.host;
|
||||||
@@ -37,7 +37,7 @@ in
|
|||||||
hostname-strict-https = false;
|
hostname-strict-https = false;
|
||||||
http-enabled = true;
|
http-enabled = true;
|
||||||
http-port = cfg.port;
|
http-port = cfg.port;
|
||||||
proxy = "edge";
|
proxy-headers = "xforwarded";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.keycloak.serviceConfig.EnvironmentFile = config.sops.secrets.keycloak.path;
|
systemd.services.keycloak.serviceConfig.EnvironmentFile = config.sops.secrets.keycloak.path;
|
||||||
|
|||||||
Reference in New Issue
Block a user