Compare commits
No commits in common. "1ab817090ff5989578caefd8786e9450b37e3da5" and "b6546f3ab00ffa8ab39631a76644c718f4fafe6d" have entirely different histories.
1ab817090f
...
b6546f3ab0
1 changed files with 1 additions and 10 deletions
|
|
@ -180,13 +180,6 @@ in
|
||||||
ragApi = mkImageOption "ragApi" "The LibreChat RAG API Docker image (`pkgs.dockerTools.pullImage`).";
|
ragApi = mkImageOption "ragApi" "The LibreChat RAG API Docker image (`pkgs.dockerTools.pullImage`).";
|
||||||
};
|
};
|
||||||
|
|
||||||
configFile = mkOption {
|
|
||||||
type = types.nullOr types.path;
|
|
||||||
default = null;
|
|
||||||
example = literalExpression "./librechat.yaml";
|
|
||||||
description = "Path to the `librechat.yaml` configuration file.";
|
|
||||||
};
|
|
||||||
|
|
||||||
externalUrl = mkOption {
|
externalUrl = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
|
|
@ -342,9 +335,7 @@ in
|
||||||
"librechat_images:/app/client/public/images:rw"
|
"librechat_images:/app/client/public/images:rw"
|
||||||
"librechat_uploads:/app/uploads:rw"
|
"librechat_uploads:/app/uploads:rw"
|
||||||
"librechat_logs:/app/logs:rw"
|
"librechat_logs:/app/logs:rw"
|
||||||
]
|
];
|
||||||
++ optional (cfg.configFile != null) "${cfg.configFile}:/app/librechat.yaml:ro";
|
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"0.0.0.0:${toString cfg.port}:${toString cfg.port}/tcp"
|
"0.0.0.0:${toString cfg.port}:${toString cfg.port}/tcp"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue