mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #12654] [MERGED] feat: disable persistent config #22996
Reference in New Issue
Block a user
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/open-webui/pull/12654
Author: @valckmir
Created: 4/9/2025
Status: ✅ Merged
Merged: 4/9/2025
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (2)
68aea6bfeat: disable persistent configa5faaf3refactor: rename persistent config variable📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+2 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Added an option to disable persistent configuration globally for easier management of settings.
Description
This PR enables configuration solely through the environment variables, which complies with the Twelve-Factor App methodology.
Added
ENABLE_PERSISTENT_CONFIGconfiguration variable with default value set toTrueChanged
ENABLE_PERSISTENT_CONFIGenv var is set toFalse, all configuration variables will be treated as regular variablesAdditional Information
Disable PersistentConfig globally discussion
Not possible to reconfigure some PersistentConfig variables
Documentation update
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.