From c05a28567096f22e287a13c879ee5dc8d954ad42 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 10 Jun 2024 15:15:12 +0200 Subject: [PATCH] fix: open-webui prod ENV --- config/services/ollama.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/services/ollama.nix b/config/services/ollama.nix index 006a2c9..86e886a 100644 --- a/config/services/ollama.nix +++ b/config/services/ollama.nix @@ -14,12 +14,19 @@ port = 3000; enable = true; environment = { + ENV = "prod"; OLLAMA_BASE_URL = "http://localhost:3001"; ANONYMIZED_TELEMETRY = "False"; DO_NOT_TRACK = "True"; SCARF_NO_ANALYTICS = "True"; TRANSFORMERS_CACHE = "/var/lib/open-webui/cache/huggingface"; WEBUI_AUTH_TRUSTED_EMAIL_HEADER = "X-Email"; + ENABLE_COMMUNITY_SHARING = "False"; + ENABLE_ADMIN_EXPORT = "False"; + + WEBUI_AUTH = "False"; + ENABLE_SIGNUP = "False"; + DEFAULT_USER_ROLE = "user"; }; }; environment.persistence."/state".directories = [