- Set `WEBUI_AUTH` to "True" in the OpenWebUI configuration. - This change enforces authentication for enhanced security.
19 lines
412 B
Nix
19 lines
412 B
Nix
{ ... }:
|
|
{
|
|
services.open-webui = {
|
|
enable = true;
|
|
port = 8080;
|
|
host = "127.0.0.1";
|
|
environment = {
|
|
ANONYMIZED_TELEMETRY = "False";
|
|
DO_NOT_TRACK = "True";
|
|
SCARF_NO_ANALYTICS = "True";
|
|
ENABLE_OLLAMA_API = "True";
|
|
OLLAMA_API_BASE_URL = "http://m4.local:11434";
|
|
ENABLE_OPENAI_API = "False";
|
|
# Enable authentication
|
|
WEBUI_AUTH = "True";
|
|
};
|
|
};
|
|
}
|