Update open-webui

This commit is contained in:
Jacob Hinkle 2025-09-01 10:31:19 -04:00
parent 719511cee4
commit 14513e894a
2 changed files with 31 additions and 3 deletions

View File

@ -148,6 +148,7 @@
};
in {
home-assistant = import ./home-assistant.nix ips;
open-webui = import ./open-webui.nix ips;
pihole = import ./pihole.nix ips;
unifi = import ./unifi.nix ips;
vaultwarden = import ./vaultwarden.nix ips;
@ -175,11 +176,19 @@
# This is an ollama frontend. Formerly called ollama-webui
open-webui = {
enable = true;
environment.OLLAMA_API_BASE_URL = "http://192.168.88.18:11434";
# We now use docker instead
enable = false;
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://192.168.88.18:11434";
OLLAMA_BASE_URL = "http://192.168.88.18:11434";
DATA_DIR = "/serverdata/open-webui/data";
};
host = "cj.monster-squeaker.ts.net";
port = 8687;
stateDir = "/serverdata/open-webui";
stateDir = "/serverdata/open-webui/state";
};
pipewire = {

View File

@ -0,0 +1,19 @@
{ serverIP, serverIP6 } : {
image = "ghcr.io/open-webui/open-webui:0.6.25";
ports = [
"8687:8080"
];
environment = {
TZ = "America/New_York";
WEBUI_URL = "http://cj.monster-squeaker.ts.net:8687";
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
USE_OLLAMA = "False";
OLLAMA_BASE_URL = "http://192.168.88.18:11434";
};
volumes = [
"/serverdata/open-webui/data:/app/backend/data"
];
}