Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for BW_DB_PORT #2520

Merged
merged 1 commit into from
Dec 27, 2022
Merged

add support for BW_DB_PORT #2520

merged 1 commit into from
Dec 27, 2022

Conversation

kspearrin
Copy link
Member

Type of change

- [x] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other

Objective

Add support for custom database server ports using BW_DB_PORT env var.

Resolves #2516

Code changes

  • entrypoint: Apply BW_DB_PORT to all connecting strings with default fallbacks.

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • If making database changes - make sure you also update Entity Framework queries and/or migrations
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

@djsmith85 djsmith85 added the bw-unified-deploy An Issue related to Bitwarden unified deployment label Dec 27, 2022
@kspearrin kspearrin merged commit bc85cbe into master Dec 27, 2022
@kspearrin kspearrin deleted the unified-port branch December 27, 2022 17:15
eliykat pushed a commit that referenced this pull request Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bw-unified-deploy An Issue related to Bitwarden unified deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom MySQL port for BW unified
3 participants