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

Init-databases scripts attempts to connects to internal MONGO DB even when external mongo DB is specified #12

Open
pmadhanbabu opened this issue Dec 2, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@pmadhanbabu
Copy link

Not able to initialize the mongo database when the external mongoDB server is specified in the .env.config
The script attempts to connect to internal mongo db (getaddrinfo("mongo1")) always since the jacs-init container is hardcoded to use the internal mongo DB always.

Ex:
Mongo db server is specified below in .env file
MONGODB_SERVER=externalmongo01.aaa.org:27017

while initializing the database (manage.sh init-database), the script attempts to initialize the database for the internal MongoDB (mongo1) instead of externalmongo01

@pmadhanbabu pmadhanbabu changed the title nit-databases scripts attempts to connects to internal MONGO DB even when external mongo DB is specified Init-databases scripts attempts to connects to internal MONGO DB even when external mongo DB is specified Dec 2, 2019
@krokicki krokicki added the enhancement New feature or request label Dec 7, 2019
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