mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #3179] enh: Pass DB credentials and URL separately instead of fully-formed DB_URL #13162
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?
Originally created by @nitinkr0411 on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3179
Is your feature request related to a problem? Please describe.
In case of deployment where the database credentials are rotated but the URL remains the same (for ex. AWS RDS with rotated DB credentials in Secretsmanager), it would be helpful in CICD and IaC to have password and URL separated.
So, URL can go as a environment variable but the credentials can be passed on separately as a secret.
Describe the solution you'd like
DB_PASS and DB_URL are passed as separate environment variables in the docker container
Describe alternatives you've considered
Manually constructing the url via custom CFN resource in AWS. But, that seems very hacky.
Additional context
The OpenWebUI is deployed in Amazon ECS via Cloudformation hooked to AWS RDS with rotating credentials.
LiteLLM sidecar container acting as a gateway to Amazon Bedrock.
@tjbck commented on GitHub (Jun 14, 2024):
PR welcome!
@frankdaza commented on GitHub (Aug 28, 2025):
I believe this issue can be closed as the problem has been resolved in the latest version. Right?
@tjbck commented on GitHub (Aug 28, 2025):
Correct, thanks for pointing it out!