Compare commits

..

No commits in common. "1ab817090ff5989578caefd8786e9450b37e3da5" and "b6546f3ab00ffa8ab39631a76644c718f4fafe6d" have entirely different histories.

View file

@ -180,13 +180,6 @@ in
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 {
type = types.nullOr types.str;
default = null;
@ -342,9 +335,7 @@ in
"librechat_images:/app/client/public/images:rw"
"librechat_uploads:/app/uploads:rw"
"librechat_logs:/app/logs:rw"
]
++ optional (cfg.configFile != null) "${cfg.configFile}:/app/librechat.yaml:ro";
];
ports = [
"0.0.0.0:${toString cfg.port}:${toString cfg.port}/tcp"
];