nixcfg/systems/x86_64-linux/sgx/openwebui.nix
Harald Hoyer c65f89edf8 fix(openwebui): update OLLAMA_API_BASE_URL configuration
Update the OLLAMA_API_BASE_URL to ensure proper resolution with the full domain name `m4.fritz.box`. This change ensures that the API endpoint is correctly accessible within the network.
2024-12-06 09:12:27 +01:00

18 lines
371 B
Nix

{ ... }:
{
services.open-webui = {
enable = true;
port = 8080;
host = "0.0.0.0";
openFirewall= true;
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://m4.fritz.box:11434";
# Disable authentication
WEBUI_AUTH = "False";
};
};
}