dump
All checks were successful
Hello World / test (push) Successful in 12s

This commit is contained in:
plasmagoat 2025-07-05 11:12:20 +02:00
parent 4ed9ba0d24
commit a90630ecb6
98 changed files with 2063 additions and 729 deletions

View file

@ -0,0 +1,31 @@
{
config,
pkgs,
...
}: {
services.postgresql.enable = true;
services.keycloak = {
enable = true;
initialAdminPassword = "password";
database = {
type = "postgresql";
createLocally = true;
username = "keycloak";
passwordFile = config.sops.secrets.keycloak_psql_pass.path;
};
settings = {
hostname = "keycloak.procopius.dk";
# hostname-admin = "http://keycloak.lab:8080";
# hostname-strict = false;
# hostname-backchannel-dynamic = true;
http-enabled = true;
http-port = 8080;
proxy-headers = "xforwarded";
};
};
networking.firewall.allowedTCPPorts = [8080];
}