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

Modify server so that startup is not dependent on a running database #387

Open
njriasan opened this issue Apr 25, 2019 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@njriasan
Copy link

For our usercloud architecture design we want to have the mongodb container mount an encrypted filesystem directly. However the server needs to give mongo the key at launch, so we need the server already running and not dependent on mongo.

@shankari shankari added the enhancement New feature or request label Apr 25, 2019
@shankari
Copy link
Contributor

It seems like the obvious solution for this (at least with the current e-mission-server code) is to lazily initialize the connection to the database.

@shankari
Copy link
Contributor

@njriasan fix is at e-mission/e-mission-server#675
I am OK with merging one part (assuming it passes tests).
You need to apply a manual patch for the second part (e-mission/e-mission-server#675 (comment))

Please see the testing done for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants