ldap: got a tool to manage the password resets and ssh key
This commit is contained in:
parent
f8312b76ef
commit
144f3bce54
1 changed files with 31 additions and 1 deletions
|
@ -56,7 +56,6 @@ Gonna use a priper nixos module for this
|
||||||
|
|
||||||
# for ldap
|
# for ldap
|
||||||
389
|
389
|
||||||
636
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.openldap = {
|
services.openldap = {
|
||||||
|
@ -135,5 +134,36 @@ Gonna use a priper nixos module for this
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."${cfg.subdomain}.skynet.ie" = {
|
||||||
|
forceSSL = true;
|
||||||
|
useACMEHost = "skynet";
|
||||||
|
locations."/".proxyPass = "http://localhost:8888";
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation.arion = {
|
||||||
|
backend = "docker";
|
||||||
|
projects = {
|
||||||
|
ldap_reset.settings.services.ldap_reset.service = {
|
||||||
|
image = "docker.io/ltbproject/self-service-password:1.5.3";
|
||||||
|
# setting these here as they arent special
|
||||||
|
environment = {
|
||||||
|
# this is what it last ran on
|
||||||
|
SPIGOT_VER="1.18.2";
|
||||||
|
EULA="true";
|
||||||
|
};
|
||||||
|
|
||||||
|
# where the config files are stored
|
||||||
|
volumes = [
|
||||||
|
"${./testing.php}:/var/www/conf/config.inc.local.php"
|
||||||
|
];
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
"8888:80/tcp"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue