容器的mongo配置
url=mongodb://ip1:port1,ip2:port2,ip3:port3 username=xxx password=xxx mongo_db=xxx
虚机的的mongo配置
host=port1,port2,port3 port=port1 username=xxx password=xxx mongo_db=xxx
标签:username,容器,配置,mongo,xxx,虚机,port1 From: https://www.cnblogs.com/ForeverLoveByMe/p/16621082.html