Open WebUI but only proxy. Deployed via Portainer

This commit is contained in:
pazpi 2025-05-05 22:44:10 +02:00
parent 0b0ddfc2f9
commit 8174cc5756
4 changed files with 34 additions and 2 deletions

View file

@ -92,7 +92,7 @@ in
perplexicaUrl = p.hosts.portainer;
proxy = {
enable = true;
domain = p.domains.ts;
domain = p.domains.public;
host = p.hosts.caddy;
};
};
@ -167,7 +167,7 @@ in
}
{
subdomain = "ai";
host = "http://${p.hosts.librechat}:3080";
host = "http://${p.hosts.portainer}:4000";
domain = p.domains.public;
}
];

View file

@ -38,6 +38,17 @@ let
];
};
pkgs-unstable =
system:
import nixpkgs-unstable {
inherit system;
overlays = [
agenixOverlay
customOverlays
];
config.allowUnfree = true;
};
myModules = {
imports = [
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 {
pkgs = pkgs-unstable "x86_64-linux";
modules = [

View file

@ -136,6 +136,15 @@ in
];
};
open-webui.deployment = {
targetHost = hosts.open-webui;
tags = [
"lxc"
"bacco"
"open-webui"
];
};
paperless.deployment = {
targetHost = hosts.paperless;
tags = [

View file

@ -17,6 +17,7 @@
shadowsocks = "shadowsocks.internal";
librechat = "librechat.internal";
immich = "immich.internal";
open-webui = "open-webui.home";
paperless = "paperless.internal";
};
domains = {