Skip to content

Conversation

silentoplayz
Copy link
Collaborator

@silentoplayz silentoplayz commented Apr 16, 2025

This PR focuses on adding many missing PersistentConfig environment variables to the env-configuration.md documentation page. Many environment variables have been rearranged within their respective categories as well.

I skipped adding or documenting the following environment variables:

    - DEFAULT_PROMPT_SUGGESTIONS
    - EVALUATION_ARENA_MODELS
    - MODEL_ORDER_LIST
    - OAUTH_GROUPS_CLAIM
    - OLLAMA_API_CONFIGS
    - OPENAI_API_CONFIGS
    - TOOL_SERVER_CONNECTIONS
    - USER_PERMISSIONS
    - WEB_SEARCH_DOMAIN_FILTER_LIST

The env vars above are likely PersistentConfig env vars, but I was told that most of these should be set via the WebUI settings rather than as an env var.

Other undocumented environment variables (not from backend/open_webui/config.py):

    - AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA (default: '10', type: str) (in files: env.py)
    - AUDIT_EXCLUDED_PATHS (default: '/chats,/chat,/folders', type: str) (in files: env.py)
    - AUDIT_LOG_FILE_ROTATION_SIZE (default: '10MB', type: str) (in files: env.py)
    - AUDIT_LOG_LEVEL (default: 'NONE', type: str) (in files: env.py)
    - DATABASE_SCHEMA (default: None) (in files: env.py)
    - DOCKER (default: 'False', type: str) (in files: env.py)
    - ENABLE_OTEL (default: 'False', type: str) (in files: env.py)
    - HF_HUB_OFFLINE (default: None) (in files: env.py)
    - MAX_BODY_LOG_SIZE (default: None) (in files: env.py)
    - OTEL_EXPORTER_OTLP_ENDPOINT (default: 'http://localhost:4317', type: str) (in files: env.py)
    - OTEL_RESOURCE_ATTRIBUTES (default: '', type: str) (in files: env.py)
    - OTEL_SERVICE_NAME (default: 'open-webui', type: str) (in files: env.py)
    - OTEL_TRACES_SAMPLER (default: 'parentbased_always_on', type: str) (in files: env.py)
    - TRUSTED_SIGNATURE_KEY (default: '', type: str) (in files: env.py)
    - WEBSOCKET_REDIS_LOCK_TIMEOUT (default: '60', type: str) (in files: env.py)

@tjbck
Copy link
Contributor

tjbck commented Apr 16, 2025

💪

@tjbck tjbck merged commit 9cb985e into open-webui:main Apr 16, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants