[GH-ISSUE #3179] enh: Pass DB credentials and URL separately instead of fully-formed DB_URL #13162

Closed
opened 2026-04-19 19:57:36 -05:00 by GiteaMirror · 3 comments
Owner

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.

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.
Author
Owner

@tjbck commented on GitHub (Jun 14, 2024):

PR welcome!

<!-- gh-comment-id:2168522627 --> @tjbck commented on GitHub (Jun 14, 2024): PR welcome!
Author
Owner

@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?

<!-- gh-comment-id:3234202251 --> @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?
Author
Owner

@tjbck commented on GitHub (Aug 28, 2025):

Correct, thanks for pointing it out!

<!-- gh-comment-id:3234241074 --> @tjbck commented on GitHub (Aug 28, 2025): Correct, thanks for pointing it out!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#13162