feat(librechat): add environment variable support
This commit is contained in:
parent
71fe7b5dd9
commit
ff368be300
2 changed files with 49 additions and 16 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue