fix: open-webui prod ENV

This commit is contained in:
Patrick 2024-06-10 15:15:12 +02:00
parent 4547178869
commit c05a285670
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -14,12 +14,19 @@
port = 3000; port = 3000;
enable = true; enable = true;
environment = { environment = {
ENV = "prod";
OLLAMA_BASE_URL = "http://localhost:3001"; OLLAMA_BASE_URL = "http://localhost:3001";
ANONYMIZED_TELEMETRY = "False"; ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True"; DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True"; SCARF_NO_ANALYTICS = "True";
TRANSFORMERS_CACHE = "/var/lib/open-webui/cache/huggingface"; TRANSFORMERS_CACHE = "/var/lib/open-webui/cache/huggingface";
WEBUI_AUTH_TRUSTED_EMAIL_HEADER = "X-Email"; 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 = [ environment.persistence."/state".directories = [