Harald Hoyer
c65f89edf8
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.
18 lines
371 B
Nix
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";
|
|
};
|
|
};
|
|
}
|