tika and ws
This commit is contained in:
parent
d4228a7bed
commit
121781724b
@ -5,6 +5,7 @@ let
|
|||||||
frontendDomain = "llm.giugl.io";
|
frontendDomain = "llm.giugl.io";
|
||||||
ollamaPkg = pkgs.unstablePkgs.ollama-cuda;
|
ollamaPkg = pkgs.unstablePkgs.ollama-cuda;
|
||||||
uiPkg = pkgs.unstablePkgs.open-webui;
|
uiPkg = pkgs.unstablePkgs.open-webui;
|
||||||
|
tikaPkg = pkgs.unstablePkgs.tika;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment = {
|
environment = {
|
||||||
@ -28,6 +29,11 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = uiPkg;
|
package = uiPkg;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tika = {
|
||||||
|
enable = true;
|
||||||
|
package = tikaPkg;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
architect.vhost.${backendDomain} = {
|
architect.vhost.${backendDomain} = {
|
||||||
@ -55,7 +61,7 @@ in
|
|||||||
port = config.services.open-webui.port;
|
port = config.services.open-webui.port;
|
||||||
allowLan = true;
|
allowLan = true;
|
||||||
allowWAN = true;
|
allowWAN = true;
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user