You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: