mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[PR #1396] [MERGED] docs: document the env variables the code reads but the reference page did not list #1359
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#1359
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/docs/pull/1396
Author: @silentoplayz
Created: 9/18/2026
Status: ✅ Merged
Merged: 9/18/2026
Merged by: @silentoplayz
Base:
main← Head:docs/env-missing📝 Commits (1)
904a674docs: document the env variables the code reads but the reference page did not list📊 Changes
1 file changed (+195 additions, -0 deletions)
View changed files
📝
docs/reference/env-configuration.mdx(+195 -0)📄 Description
Summary
I listed every
os.getenvandos.environ.getname inbackend/open_webuiondevand checked each against the environment variable reference. These are read by the code but had no entry on the page. Each one now has an entry with its type, default, and what the code does with it, placed in the section its neighbors live in:DATALAB_MARKER_*settings andMINERU_API_MODE,MINERU_API_URL,MINERU_API_KEY. The Datalab entries say which Marker request field each one sends, with the meanings from Datalab's API reference, and note that Open WebUI posts to the/markerendpoint, which that reference now marks as deprecated in favor of/convert.OAUTH_UPDATE_NAME_ON_LOGIN,OAUTH_UPDATE_EMAIL_ON_LOGIN(including the skip when the new address is already taken),OAUTH_CLIENT_TIMEOUT, andOAUTH_ACCESS_TOKEN_REQUEST_INCLUDE_CLIENT_ID.DEPLOYMENT_ID(returned byGET /api/version),INSTANCE_ID(stamped on every event envelope),WEBUI_AUTH_SIGNOUT_REDIRECT_URL,THREAD_POOL_THREAD_NAME_PREFIX,USE_SLIM_DOCKERand the four things it changes,LICENSE_BLOB_PATH,LICENSE_PUBLIC_KEY.TAVILY_API_BASE_URL, andGEMINI_API_BASE_URLandGEMINI_API_KEY, which the page already referenced as fallbacks without defining.AUXILIARY_EMBEDDING_MODEL, the SentenceTransformers model behind the leaderboard's query filter.Three names were left out on purpose because nothing reads them at runtime:
OAUTH_TIMEOUTandOAUTH_TOKEN_ENDPOINT_AUTH_METHODare stored but never consumed, andTRUSTED_SIGNATURE_KEYfeeds a helper no code calls.Related issue or discussion
None. Follow-up to #1395.
Checklist
Notes for reviewers
Defaults and behavior come from
config.py,env.py,utils/oauth.py,routers/auths.py,routers/evaluations.py,events.py,main.py, and the Datalab and MinerU loaders ondev. The Datalab field meanings come from Datalab's/convertAPI reference where it lists them. Additions only, no existing entry changed, so every existing anchor still resolves.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.