fix(llm): add ws for openwebui and unstable

This commit is contained in:
Giulio De Pasquale 2025-03-14 10:51:51 +00:00
parent c5542b5ca1
commit a03de99682

View File

@ -4,6 +4,7 @@ let
backendDomain = "ollama.giugl.io";
frontendDomain = "llm.giugl.io";
ollamaPkg = pkgs.unstablePkgs.ollama-cuda;
uiPkg = pkgs.unstablePkgs.open-webui;
in
{
environment = {
@ -23,7 +24,10 @@ in
};
};
open-webui.enable = true;
open-webui = {
enable = true;
package = uiPkg;
};
};
architect.vhost.${backendDomain} = {
@ -51,6 +55,7 @@ in
port = config.services.open-webui.port;
allowLan = true;
allowWAN = true;
proxyWebsockets = true;
};
};
}