deason 3 жил өмнө
parent
commit
73da22be1e

+ 5 - 5
config-center-server/src/main/resources/examcloud/dengbao/application-OE.properties

@@ -5,14 +5,14 @@ examcloud.bootstrap.app.appId=4
 examcloud.bootstrap.app.secretKey=123456
 
 #mongodb
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+mguri.username=exam-cloud-dev
+mguri.password=Examcloud123
+mguri.hostAndPortGroup=192.168.0.78:3717
 
 #mguri.database=XXX
 mguri.maxPoolSize=50
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
-spring.data.mongodb.database=examcloud_core_oe
+spring.data.mongodb.grid-fs-database=examcloud-core-oe
+spring.data.mongodb.database=examcloud-core-oe
 
 #upyun
 app.upyun.uploadUrl=/offline-exam/dev/

+ 5 - 6
config-center-server/src/main/resources/examcloud/dengbao/application-OES.properties

@@ -5,15 +5,14 @@ examcloud.bootstrap.app.appId=5
 examcloud.bootstrap.app.secretKey=123456
 
 #mongodb
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
-
+mguri.username=exam-cloud-dev
+mguri.password=Examcloud123
+mguri.hostAndPortGroup=192.168.0.78:3717
 
 #mguri.database=XXX
 mguri.maxPoolSize=80
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
-spring.data.mongodb.database=examcloud_core_oe
+spring.data.mongodb.grid-fs-database=examcloud-core-oe
+spring.data.mongodb.database=examcloud-core-oe
 
 #upyun
 app.upyun.uploadUrl=/offline-exam/aliyun-test/

+ 6 - 6
config-center-server/src/main/resources/examcloud/dengbao/application-OET.properties

@@ -5,13 +5,13 @@ examcloud.bootstrap.app.appId=6
 examcloud.bootstrap.app.secretKey=123456
 
 #mongodb
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+mguri.username=exam-cloud-dev
+mguri.password=Examcloud123
+mguri.hostAndPortGroup=192.168.0.78:3717
 #mguri.database=XXX
 #mguri.maxPoolSize=50
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
-spring.data.mongodb.database=examcloud_core_oe
+spring.data.mongodb.grid-fs-database=examcloud-core-oe
+spring.data.mongodb.database=examcloud-core-oe
 
 #upyun
 app.upyun.uploadUrl=/offline-exam/test/
@@ -36,4 +36,4 @@ exam_redis_key_prefix=oe_student:exam_session_
 examcloud.face.compare.task.enable=false
 examcloud.record.data.sync.enable=false
 examcloud.record.data.sync.allowOrgList=
-examcloud.record.data.sync.limitOrgList=
+examcloud.record.data.sync.limitOrgList=

+ 5 - 5
config-center-server/src/main/resources/examcloud/dengbao/application-Q.properties

@@ -21,14 +21,14 @@ hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=600000
 hystrix.threadpool.default.coreSize=500
 
 #mongodb config
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+mguri.username=exam-cloud-dev
+mguri.password=Examcloud123
+mguri.hostAndPortGroup=192.168.0.78:3717
 
 #mguri.database=XXX
 mguri.maxPoolSize=50
-spring.data.mongodb.database=comm_ques_bank
-spring.data.mongodb.grid-fs-database=comm_ques_bank
+spring.data.mongodb.database=comm-ques-bank
+spring.data.mongodb.grid-fs-database=comm-ques-bank
 
 # upyun config
 upyun.uploadUrl=/comm-ques-bank/prod/exam-paper-file/

+ 13 - 13
config-center-server/src/main/resources/examcloud/dengbao/application.properties

@@ -17,22 +17,22 @@ eureka.client.registry-fetch-interval-seconds=3
 eureka.client.instance-info-replication-interval-seconds=5
 eureka.client.initial-instance-info-replication-interval-seconds=5
 
-eureka.client.serviceUrl.defaultZone=http://192.168.10.240:1111/eureka/
+eureka.client.serviceUrl.defaultZone=http://192.168.1.222:1111/eureka/
 
 #datasource
-dsurl.host=192.168.10.201
-dsurl.port=3309
-dsurl.database=exam_cloud_test
-spring.datasource.username=root
-spring.datasource.password=root
+dsurl.host=192.168.0.54
+dsurl.port=3306
+dsurl.database=examcloud_dengbao
+spring.datasource.username=examcloud_dengbao
+spring.datasource.password=examcloud_dengbao_123
 
 spring.datasource.url=jdbc:mysql://${dsurl.host}:${dsurl.port}/${dsurl.database}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2b8&rewriteBatchedStatements=true
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
 
 #druid
-spring.datasource.druid.initial-size=20
-spring.datasource.druid.min-idle=20
+spring.datasource.druid.initial-size=10
+spring.datasource.druid.min-idle=10
 spring.datasource.druid.max-active=350
 spring.datasource.druid.max-wait=3000
 spring.datasource.druid.validation-query=SELECT 1
@@ -55,9 +55,9 @@ spring.datasource.druid.stat-view-servlet.reset-enable=true
 spring.datasource.druid.stat-view-servlet.login-username=admin
 spring.datasource.druid.stat-view-servlet.login-password=admin
 
-spring.redis.host=192.168.10.139
+spring.redis.host=192.168.0.64
 spring.redis.port=6379
-spring.redis.password=123456
+spring.redis.password=examcloud_dengbao:examcloud_dengbao_123
 spring.redis.database=9
 
 #log
@@ -94,9 +94,9 @@ $facepp.faceid.api_key=TJo5okq7Pr-DWgx4VR2XgGnAzbcjgzAb
 $facepp.faceid.api_secret=TBlVvS6atjk3JBszaXQ3jHVc8CghfZzQ
 
 #mongodb
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+mguri.username=exam-cloud-dev
+mguri.password=Examcloud123
+mguri.hostAndPortGroup=192.168.0.78:3717
 mguri.database=admin
 mguri.maxPoolSize=50
 spring.data.mongodb.uri=mongodb://${mguri.username}:${mguri.password}@${mguri.hostAndPortGroup}/${mguri.database}?maxPoolSize=${mguri.maxPoolSize}&maxIdleTimeMS=6000