Browse Source

by wangwei

wangwei 7 years ago
parent
commit
7c89e2259d

+ 1 - 1
examcloud-core-basic-starter/shell/start.sh

@@ -2,7 +2,7 @@
 
 APP_MAIN_JAR="examcloud-core-basic-starter-2.0-SNAPSHOT.jar"
 
-JAVA_OPTS="-server -Xms512m -Xmx512m"
+JAVA_OPTS="-server -Xms2g -Xmx2g"
 
 FILE_PATH=$(cd `dirname $0`; pwd)
 

+ 0 - 16
examcloud-core-basic-starter/src/main/resources/application-prac.properties

@@ -1,16 +0,0 @@
-spring.datasource.url=jdbc:mysql://localhost:3306/exam_cloud_test?useUnicode=true&characterEncoding=UTF-8
-spring.datasource.username=root
-spring.datasource.password=root
-
-
-spring.redis.host=127.0.0.1
-spring.redis.port=6379
-
-spring.jpa.show-sql=true
-eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/
-
-spring.rabbitmq.host=127.0.0.1
-spring.rabbitmq.port=5672
-spring.rabbitmq.username=examcloud
-spring.rabbitmq.password=examcloud
-spring.rabbitmq.listener.acknowledgeMode=MANUAL

+ 21 - 21
examcloud-core-basic-starter/src/main/resources/application-prod.properties

@@ -1,21 +1,21 @@
-spring.datasource.url=jdbc:mysql://qmthmysql.mysql.rds.aliyuncs.com:3306/exam_cloud?useUnicode=true&characterEncoding=UTF-8
-spring.datasource.username=exam_cloud
-spring.datasource.password=examcloud123!@#
-
-spring.redis.host=r-wz97e520d2701e54.redis.rds.aliyuncs.com
-spring.redis.port=6379
-spring.redis.password=Qmth87863577
-
-eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/
-
-spring.rabbitmq.host=localhost
-spring.rabbitmq.port=5672
-spring.rabbitmq.username=examcloud
-spring.rabbitmq.password=examcloud123
-spring.rabbitmq.listener.acknowledgeMode=MANUAL
-
-hystrix.command.default.execution.timeout.enabled=false
-hystrix.threadpool.default.coreSize = 500
-
-staticResource.rootPath=/home/qmth/project/examcloud/static
-
+spring.datasource.url=jdbc:mysql://rds7b2sll8un5kz99s0i122.mysql.rds.aliyuncs.com:3306/exam_cloud?useUnicode=true&characterEncoding=UTF-8
+spring.datasource.username=exam_cloud
+spring.datasource.password=examcloud123!@#
+
+spring.redis.host=r-wz97e520d2701e54555.redis.rds.aliyuncs.com
+spring.redis.port=6379
+spring.redis.password=Qmth87863577
+
+eureka.client.serviceUrl.defaultZone=http://192.168.1.70:1111/eureka/
+
+spring.rabbitmq.host=192.168.1.70
+spring.rabbitmq.port=5672
+spring.rabbitmq.username=examcloud
+spring.rabbitmq.password=examcloud123
+spring.rabbitmq.listener.acknowledgeMode=MANUAL
+
+hystrix.command.default.execution.timeout.enabled=false
+hystrix.threadpool.default.coreSize = 500
+
+staticResource.rootPath=/home/qmth/project/examcloud/static
+

+ 0 - 21
examcloud-core-basic-starter/src/main/resources/application-prodvpc.properties

@@ -1,21 +0,0 @@
-spring.datasource.url=jdbc:mysql://rds7b2sll8un5kz99s0i122.mysql.rds.aliyuncs.com:3306/exam_cloud?useUnicode=true&characterEncoding=UTF-8
-spring.datasource.username=exam_cloud
-spring.datasource.password=examcloud123!@#
-
-spring.redis.host=r-wz97e520d2701e54555.redis.rds.aliyuncs.com
-spring.redis.port=6379
-spring.redis.password=Qmth87863577
-
-eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/
-
-spring.rabbitmq.host=localhost
-spring.rabbitmq.port=5672
-spring.rabbitmq.username=examcloud
-spring.rabbitmq.password=examcloud123
-spring.rabbitmq.listener.acknowledgeMode=MANUAL
-
-hystrix.command.default.execution.timeout.enabled=false
-hystrix.threadpool.default.coreSize = 500
-
-staticResource.rootPath=/home/qmth/project/examcloud/static
-