feat(librechat): add environment variable support

This commit is contained in:
Mohammad Rafiq 2025-05-31 15:39:25 +08:00
parent 71fe7b5dd9
commit ff368be300
No known key found for this signature in database
2 changed files with 49 additions and 16 deletions

View file

@ -28,8 +28,9 @@
librechat = {
enable = true;
openFirewall = true;
host = "0.0.0.0";
mongodbURI = "mongodb://apollo:27017";
env = {
TEST_ENV_VAR = "hello";
};
settings = {
version = "1.0.8";
cache = true;
@ -57,16 +58,6 @@
];
};
};
auth = {
allowEmailLogin = true;
allowEmailRegistration = true;
};
credentials = {
creds_key_file = config.sops.secrets."librechat/creds_key".path;
creds_iv_file = config.sops.secrets."librechat/creds_iv".path;
jwt_secret_file = config.sops.secrets."librechat/jwt_secret".path;
jwt_refresh_secret_file = config.sops.secrets."librechat/jwt_refresh_secret".path;
};
};
};