Jelajahi Sumber

update env properties

deason 1 bulan lalu
induk
melakukan
be3c3725b1

+ 6 - 6
src/main/resources/application-dev.properties

@@ -15,9 +15,9 @@ server.tomcat.connection-timeout=60000
 #
 # ********** mysql config **********
 #
-db.host=192.168.10.30
+db.host=192.168.10.83
 db.port=3306
-db.database=exam_reserve_db
+db.database=exam_reserve_dev
 com.qmth.datasource.username=exam_reserve_dev
 com.qmth.datasource.password=exam_reserve_dev
 com.qmth.datasource.url=jdbc:mysql://${db.host}:${db.port}/${db.database}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2b8&rewriteBatchedStatements=true
@@ -26,14 +26,14 @@ com.qmth.datasource.min-idle=10
 #
 # ********** redis config **********
 #
-com.qmth.redis.host=192.168.10.130
-com.qmth.redis.password=examcloud
+com.qmth.redis.host=192.168.10.83
+com.qmth.redis.password=123456
 com.qmth.redis.port=6379
-com.qmth.redis.db=15
+com.qmth.redis.db=13
 #
 # ********** MQ config **********
 #
-rocketmq.name-server=192.168.10.41:9876
+rocketmq.name-server=192.168.10.83:9876
 rocketmq.producer.group=exam_reserve_producer
 rocketmq.consumer.group=exam_reserve_consumer
 rocketmq.topic=exam_reserve_topic

+ 1 - 1
src/main/resources/application-prod.properties

@@ -33,7 +33,7 @@ com.qmth.redis.db=15
 #
 # ********** MQ config **********
 #
-rocketmq.name-server=192.168.10.41:9876
+rocketmq.name-server=192.168.10.83:9876
 rocketmq.producer.group=exam_reserve_producer
 rocketmq.consumer.group=exam_reserve_consumer
 rocketmq.topic=exam_reserve_topic

+ 8 - 8
src/main/resources/application-test.properties

@@ -15,25 +15,25 @@ server.tomcat.connection-timeout=60000
 #
 # ********** mysql config **********
 #
-db.host=192.168.10.136
-db.port=3307
-db.database=exam_reserve_db
-com.qmth.datasource.username=exam_reserve_db
-com.qmth.datasource.password=exam_reserve_db
+db.host=192.168.10.83
+db.port=3306
+db.database=exam_reserve_test
+com.qmth.datasource.username=exam_reserve_test
+com.qmth.datasource.password=exam_reserve_test
 com.qmth.datasource.url=jdbc:mysql://${db.host}:${db.port}/${db.database}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2b8&rewriteBatchedStatements=true
 com.qmth.datasource.max-pool-size=200
 com.qmth.datasource.min-idle=10
 #
 # ********** redis config **********
 #
-com.qmth.redis.host=192.168.10.136
+com.qmth.redis.host=192.168.10.83
 com.qmth.redis.password=123456
 com.qmth.redis.port=6379
-com.qmth.redis.db=16
+com.qmth.redis.db=14
 #
 # ********** MQ config **********
 #
-rocketmq.name-server=192.168.10.139:5672
+rocketmq.name-server=192.168.10.83:9876
 rocketmq.producer.group=exam_reserve_producer
 rocketmq.consumer.group=exam_reserve_consumer
 rocketmq.topic=exam_reserve_topic