mniwjb commented on issue #244:
URL:
https://github.com/apache/servicecomb-kie/issues/244#issuecomment-1982915686
> would you like to fix this problem?
As the author said, we can modify the mongodb database name from
'servicecomb' to 'kie', like this:
Before:
sudo docker run --name mongo -d \
-e "MONGO_INITDB_DATABASE=servicecomb" \
-e "MONGO_INITDB_ROOT_USERNAME=kie" \
-e "MONGO_INITDB_ROOT_PASSWORD=123" \
-p 27017:27017 \
-v ./deployments/db.js:/docker-entrypoint-initdb.d/db.js:ro \
mongo:4.0
After:
sudo docker run --name mongo -d \
-e "MONGO_INITDB_DATABASE=kie" \
-e "MONGO_INITDB_ROOT_USERNAME=kie" \
-e "MONGO_INITDB_ROOT_PASSWORD=123" \
-p 27017:27017 \
-v ./deployments/db.js:/docker-entrypoint-initdb.d/db.js:ro \
mongo:4.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]