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

mongo connection host via env var #17

Merged
merged 1 commit into from Jul 1, 2023
Merged

Conversation

fliem
Copy link

@fliem fliem commented Jul 1, 2023

MongoClient now respects env var BYCON_MONGO_HOST. If var not set, default to localhost.

I have only tested this with BYCON_MONGO_HOST set. Please double-check that the current functionality is retained if the var is not set.

@mbaudis mbaudis changed the base branch from main to dev July 1, 2023 12:22
@mbaudis
Copy link
Contributor

mbaudis commented Jul 1, 2023

@fliem I've created a dev branch & merge tis in there first for local testing.

@mbaudis mbaudis merged commit 55422a7 into progenetix:dev Jul 1, 2023
mbaudis added a commit that referenced this pull request Jul 4, 2023
* adding `BYCON_MONGO_HOST` environment variable to enable other MongoDB host than
  `localhost` (which remains fallback/default) - thanks @fliem for [#17](#17)
* added `--noo-sudo` to install.py - thanks @fliem for [#19](#19)
* more tweaking of configuration reading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants