[GH-ISSUE #8293] WEBUI_NAME environment name is not setting the WebUI name #15072

Closed
opened 2026-04-19 21:22:05 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @nitulkukadia on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8293

I have bring up the open web ui with the environment variable WEBUI_NAME.

https://docs.openwebui.com/getting-started/advanced-topics/env-configuration#webui_name

But is not displaying the same in the UI.

Have seen the code here, but seems it is not being used,
https://github.com/open-webui/open-webui/blob/main/backend/open_webui/config.py
Below is the compose file:

docker-compose.yaml. Replace necessary values before using

version: '3.8'
services:
open-webui:
image: ghcr.io/open-webui/open-webui:git-ffeae78
environment:
- 'WEBUI_AUTH_TRUSTED_EMAIL_HEADER=X-Forwarded-Email'
- OLLAMA_BASE_URL=http://0.0.0.0:11434
- WEBUI_NAME=Custom Name
- DEFAULT_USER_ROLE=admin
- ENABLE_MODEL_FILTER=True
- MODEL_FILTER_LIST=llama3:8b-instruct-q4_0; codellama:7b-instruct
restart: always
ports:
- 8080:8080

Originally created by @nitulkukadia on GitHub (Jan 3, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8293 I have bring up the open web ui with the environment variable WEBUI_NAME. https://docs.openwebui.com/getting-started/advanced-topics/env-configuration#webui_name But is not displaying the same in the UI. Have seen the code here, but seems it is not being used, https://github.com/open-webui/open-webui/blob/main/backend/open_webui/config.py Below is the compose file: ## docker-compose.yaml. Replace necessary values before using version: '3.8' services: open-webui: image: ghcr.io/open-webui/open-webui:git-ffeae78 environment: - 'WEBUI_AUTH_TRUSTED_EMAIL_HEADER=X-Forwarded-Email' - OLLAMA_BASE_URL=http://0.0.0.0:11434 - WEBUI_NAME=Custom Name - DEFAULT_USER_ROLE=admin - ENABLE_MODEL_FILTER=True - MODEL_FILTER_LIST=llama3:8b-instruct-q4_0; codellama:7b-instruct restart: always ports: - 8080:8080
Author
Owner

@tkg61 commented on GitHub (Jan 3, 2025):

If you have spaces in the name, make sure the value is wrapped in quotes. e.g. WEBUI_NAME='Custom Name'

<!-- gh-comment-id:2569384416 --> @tkg61 commented on GitHub (Jan 3, 2025): If you have spaces in the name, make sure the value is wrapped in quotes. e.g. WEBUI_NAME='Custom Name'
Author
Owner

@nitulkukadia commented on GitHub (Jan 3, 2025):

With the quotes, it is not working

<!-- gh-comment-id:2569424059 --> @nitulkukadia commented on GitHub (Jan 3, 2025): With the quotes, it is not working
Author
Owner

@deseven commented on GitHub (Jan 3, 2025):

Try key : value format:

version: '3.8'
services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:git-ffeae78
    environment:
      WEBUI_AUTH_TRUSTED_EMAIL_HEADER: "X-Forwarded-Email"
      OLLAMA_BASE_URL: "http://host.docker.internal:11434"
      WEBUI_NAME: "Custom Name"
      DEFAULT_USER_ROLE: "admin"
      ENABLE_MODEL_FILTER: "True"
      MODEL_FILTER_LIST: "llama3:8b-instruct-q4_0,codellama:7b-instruct"
    restart: always
    ports:
      - 8080:8080
<!-- gh-comment-id:2569478756 --> @deseven commented on GitHub (Jan 3, 2025): Try `key : value` format: ```yml version: '3.8' services: open-webui: image: ghcr.io/open-webui/open-webui:git-ffeae78 environment: WEBUI_AUTH_TRUSTED_EMAIL_HEADER: "X-Forwarded-Email" OLLAMA_BASE_URL: "http://host.docker.internal:11434" WEBUI_NAME: "Custom Name" DEFAULT_USER_ROLE: "admin" ENABLE_MODEL_FILTER: "True" MODEL_FILTER_LIST: "llama3:8b-instruct-q4_0,codellama:7b-instruct" restart: always ports: - 8080:8080 ```
Author
Owner

@nitulkukadia commented on GitHub (Jan 3, 2025):

Is this working for you ?

<!-- gh-comment-id:2569573718 --> @nitulkukadia commented on GitHub (Jan 3, 2025): Is this working for you ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15072