Update open-webui
This commit is contained in:
parent
719511cee4
commit
14513e894a
@ -148,6 +148,7 @@
|
|||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
home-assistant = import ./home-assistant.nix ips;
|
home-assistant = import ./home-assistant.nix ips;
|
||||||
|
open-webui = import ./open-webui.nix ips;
|
||||||
pihole = import ./pihole.nix ips;
|
pihole = import ./pihole.nix ips;
|
||||||
unifi = import ./unifi.nix ips;
|
unifi = import ./unifi.nix ips;
|
||||||
vaultwarden = import ./vaultwarden.nix ips;
|
vaultwarden = import ./vaultwarden.nix ips;
|
||||||
@ -175,11 +176,19 @@
|
|||||||
|
|
||||||
# This is an ollama frontend. Formerly called ollama-webui
|
# This is an ollama frontend. Formerly called ollama-webui
|
||||||
open-webui = {
|
open-webui = {
|
||||||
enable = true;
|
# We now use docker instead
|
||||||
environment.OLLAMA_API_BASE_URL = "http://192.168.88.18:11434";
|
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";
|
host = "cj.monster-squeaker.ts.net";
|
||||||
port = 8687;
|
port = 8687;
|
||||||
stateDir = "/serverdata/open-webui";
|
stateDir = "/serverdata/open-webui/state";
|
||||||
};
|
};
|
||||||
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
|
|||||||
19
machines/cj/open-webui.nix
Normal file
19
machines/cj/open-webui.nix
Normal 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"
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user