mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-11 03:38:02 +00:00
60 lines
2.3 KiB
Text
60 lines
2.3 KiB
Text
# Ollama URL for the backend to connect
|
|
# The path '/ollama' will be redirected to the specified backend URL
|
|
OLLAMA_BASE_URL='http://localhost:11434'
|
|
|
|
OPENAI_API_BASE_URL=''
|
|
OPENAI_API_KEY=''
|
|
|
|
# AUTOMATIC1111_BASE_URL="http://localhost:7860"
|
|
|
|
# For production, you should only need one host as
|
|
# fastapi serves the svelte-kit built frontend and backend from the same host and port.
|
|
# To test with CORS locally, you can set something like
|
|
# CORS_ALLOW_ORIGIN='http://localhost:5173;http://localhost:8080'
|
|
CORS_ALLOW_ORIGIN='*'
|
|
|
|
# MFA defaults; saved settings take precedence once persistent config is seeded.
|
|
ENABLE_MFA=false
|
|
MFA_ALLOW_OAUTH_BYPASS=false
|
|
MFA_ALLOW_TRUSTED_HEADER_BYPASS=false
|
|
|
|
# Set to false to keep memory tools enabled without adding memory context to the system context.
|
|
ENABLE_MEMORY_SYSTEM_CONTEXT=true
|
|
|
|
# Set to true to add compact row/column stats to parsed CSV retrieval context.
|
|
ENABLE_RAG_CSV_SUMMARY=false
|
|
|
|
# Set to true to preserve backing file records, storage blobs, and per-file vectors when files are removed from knowledge bases.
|
|
ENABLE_KNOWLEDGE_FILE_RETENTION=false
|
|
|
|
# Comma-separated chunk metadata keys to expose to the model alongside retrieved content.
|
|
RAG_SOURCE_METADATA_KEYS=''
|
|
|
|
# Master switch for internal Tools/Functions and external OpenAPI/MCP/Open Terminal plugins.
|
|
# All plugin switches require a restart; the master overrides all feature switches.
|
|
ENABLE_PLUGINS=true
|
|
# Set false to disable workspace Tools and their dependency installation.
|
|
ENABLE_TOOLS=true
|
|
# Set false to disable Functions (filters, pipes, actions, event functions) and their dependencies.
|
|
ENABLE_FUNCTIONS=true
|
|
# Set false to disable external tools and terminals, including personal direct connections.
|
|
ENABLE_TOOL_SERVERS=true
|
|
|
|
# WARNING: * trusts forwarded headers from every connection. Use only behind a trusted
|
|
# proxy that sanitizes these headers and prevents direct access to the backend.
|
|
# Otherwise, set this to the IP addresses or networks of your trusted reverse proxies.
|
|
FORWARDED_ALLOW_IPS='*'
|
|
|
|
# DO NOT TRACK
|
|
SCARF_NO_ANALYTICS=true
|
|
DO_NOT_TRACK=true
|
|
ANONYMIZED_TELEMETRY=false
|
|
|
|
# Valkey Vector Store (requires VECTOR_DB=valkey)
|
|
# VALKEY_URL='valkey://localhost:6379'
|
|
# VALKEY_COLLECTION_PREFIX='open_webui'
|
|
# VALKEY_INDEX_TYPE='HNSW'
|
|
# VALKEY_DISTANCE_METRIC='COSINE'
|
|
# VALKEY_HNSW_M='16'
|
|
# VALKEY_HNSW_EF_CONSTRUCTION='200'
|
|
# VALKEY_HNSW_EF_RUNTIME='10'
|