Ver código fonte

配置文件提交

weiwenhai 7 anos atrás
pai
commit
62252590b5

+ 3 - 1
examcloud-core-questions-starter/src/main/resources/application-prod.properties

@@ -46,4 +46,6 @@ eureka.client.serviceUrl.defaultZone=http://192.168.1.70:1111/eureka/
 spring.rabbitmq.host=192.168.1.70 
 spring.redis.pool.max-active=2000
 spring.datasource.tomcat.max-active=100
-spring.data.mongodb.uri=mongodb://root:Qmth87863577@dds-wz93958e4b3d8b141100.mongodb.rds.aliyuncs.com:3717/?authSource=admin&authMechanism=SCRAM-SHA-1&replicaSet=mgset-2892097&maxPoolSize=200
+#spring.data.mongodb.uri=mongodb://root:Qmth87863577@dds-wz93958e4b3d8b141100.mongodb.rds.aliyuncs.com:3717/?authSource=admin&authMechanism=SCRAM-SHA-1&replicaSet=mgset-2892097&maxPoolSize=200
+spring.data.mongodb.uri=mongodb://root:Qmth87863577@dds-wz93958e4b3d8b141100.mongodb.rds.aliyuncs.com:3717,dds-wz93958e4b3d8b142846.mongodb.rds.aliyuncs.com:3717/admin?replicaSet=mgset-2892097
+