revert to old api
This commit is contained in:
parent
afb49c7407
commit
e4a429ebe6
1 changed files with 2 additions and 11 deletions
|
|
@ -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"}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue