new librechat api #80

Merged
sid merged 3 commits from develop into master 2026-05-19 21:07:38 +02:00
Showing only changes of commit e4a429ebe6 - Show all commits

View file

@ -18,16 +18,11 @@ in
enable = true;
inherit port;
externalUrl = "https://${fqdn}";
environmentFile = config.sops.templates.librechat-env-file.path;
# environment = {
# ALLOW_REGISTRATION = "true";
# };
environmentFiles = {
librechat = config.sops.templates.librechat-env.path;
meilisearch = config.sops.templates.meili-env.path;
ragApi = null;
};
};
services.nginx.virtualHosts."${fqdn}" = {
@ -60,16 +55,12 @@ in
secrets."librechat/creds-iv" = { };
secrets."librechat/meili-master-key" = { };
templates.librechat-env.content = ''
templates.librechat-env-file.content = ''
JWT_SECRET=${config.sops.placeholder."librechat/jwt-secret"}
JWT_REFRESH_SECRET=${config.sops.placeholder."librechat/jwt-refresh-secret"}
CREDS_KEY=${config.sops.placeholder."librechat/creds-key"}
CREDS_IV=${config.sops.placeholder."librechat/creds-iv"}
MEILI_MASTER_KEY=${config.sops.placeholder."librechat/meili-master-key"}
'';
templates.meili-env.content = ''
MEILI_MASTER_KEY=${config.sops.placeholder."librechat/meili-master-key"}
'';
};
}