Open WebUI but only proxy. Deployed via Portainer
This commit is contained in:
parent
0b0ddfc2f9
commit
8174cc5756
4 changed files with 34 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ in
|
||||||
perplexicaUrl = p.hosts.portainer;
|
perplexicaUrl = p.hosts.portainer;
|
||||||
proxy = {
|
proxy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = p.domains.ts;
|
domain = p.domains.public;
|
||||||
host = p.hosts.caddy;
|
host = p.hosts.caddy;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -167,7 +167,7 @@ in
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
subdomain = "ai";
|
subdomain = "ai";
|
||||||
host = "http://${p.hosts.librechat}:3080";
|
host = "http://${p.hosts.portainer}:4000";
|
||||||
domain = p.domains.public;
|
domain = p.domains.public;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,17 @@ let
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pkgs-unstable =
|
||||||
|
system:
|
||||||
|
import nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
overlays = [
|
||||||
|
agenixOverlay
|
||||||
|
customOverlays
|
||||||
|
];
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
|
||||||
myModules = {
|
myModules = {
|
||||||
imports = [
|
imports = [
|
||||||
lix-module.nixosModules.default
|
lix-module.nixosModules.default
|
||||||
|
|
@ -223,6 +234,17 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
open-webui = nixpkgs-unstable.lib.nixosSystem {
|
||||||
|
pkgs = pkgs-unstable "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
myModules
|
||||||
|
proxmoxModule
|
||||||
|
./open-webui
|
||||||
|
agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
# specialArgs = { };
|
||||||
|
};
|
||||||
|
|
||||||
paperless = nixpkgs-unstable.lib.nixosSystem {
|
paperless = nixpkgs-unstable.lib.nixosSystem {
|
||||||
pkgs = pkgs-unstable "x86_64-linux";
|
pkgs = pkgs-unstable "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,15 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
open-webui.deployment = {
|
||||||
|
targetHost = hosts.open-webui;
|
||||||
|
tags = [
|
||||||
|
"lxc"
|
||||||
|
"bacco"
|
||||||
|
"open-webui"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
paperless.deployment = {
|
paperless.deployment = {
|
||||||
targetHost = hosts.paperless;
|
targetHost = hosts.paperless;
|
||||||
tags = [
|
tags = [
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
shadowsocks = "shadowsocks.internal";
|
shadowsocks = "shadowsocks.internal";
|
||||||
librechat = "librechat.internal";
|
librechat = "librechat.internal";
|
||||||
immich = "immich.internal";
|
immich = "immich.internal";
|
||||||
|
open-webui = "open-webui.home";
|
||||||
paperless = "paperless.internal";
|
paperless = "paperless.internal";
|
||||||
};
|
};
|
||||||
domains = {
|
domains = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue