create photoprism accounts

This commit is contained in:
nyanloutre 2023-05-18 20:23:02 +02:00
parent da693daad6
commit 30faf02d27
2 changed files with 3 additions and 2 deletions

View File

@ -549,9 +549,10 @@ in
photoprism = { photoprism = {
enable = true; enable = true;
originalsPath = "/mnt/backup_loutre/amandoleen/d/Users/Amand/Pictures"; originalsPath = "/mnt/backup_loutre/amandoleen/d/Users/Amand/Pictures";
passwordFile = "/mnt/secrets/photoprism_pass";
settings = { settings = {
PHOTOPRISM_AUTH_MODE = "public";
PHOTOPRISM_READONLY = "1"; PHOTOPRISM_READONLY = "1";
PHOTOPRISM_DETECT_NSFW = "1";
PHOTOPRISM_SITE_URL = "https://photo.nyanlout.re/"; PHOTOPRISM_SITE_URL = "https://photo.nyanlout.re/";
}; };
}; };

View File

@ -264,7 +264,7 @@ in
"ci.nyanlout.re" = simpleReverse 52350; "ci.nyanlout.re" = simpleReverse 52350;
"gitea.nyanlout.re" = simpleReverse config.services.gitea.httpPort; "gitea.nyanlout.re" = simpleReverse config.services.gitea.httpPort;
"musique.nyanlout.re" = simpleReverse config.services.navidrome.settings.Port; "musique.nyanlout.re" = simpleReverse config.services.navidrome.settings.Port;
"photo.nyanlout.re" = recursiveUpdate (authReverse config.services.photoprism.port) { "photo.nyanlout.re" = recursiveUpdate (simpleReverse config.services.photoprism.port) {
locations."/" = { locations."/" = {
proxyWebsockets = true; proxyWebsockets = true;
}; };