I am running an instance of mongodb in docker. How do I get the connection string to use it with RoboT3 or mongoose in my nodejs application?
I want to be able to get a connection string like this
mongodb://dbuser:dbpassword@examplehost:63639/name
您需要按照文档自行构建。
您需要参考此链接。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.