|
@@ -0,0 +1,55 @@
|
|
|
+#
|
|
|
+# ********** server config **********
|
|
|
+#
|
|
|
+server.port=8080
|
|
|
+server.servlet.context-path=/
|
|
|
+server.servlet.session.timeout=PT2H
|
|
|
+spring.servlet.multipart.max-request-size=100MB
|
|
|
+spring.servlet.multipart.max-file-size=100MB
|
|
|
+spring.main.allow-bean-definition-overriding=true
|
|
|
+spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
|
|
+spring.jackson.time-zone=GMT+8
|
|
|
+server.tomcat.threads.max=800
|
|
|
+server.tomcat.max-connections=20000
|
|
|
+server.tomcat.connection-timeout=90000
|
|
|
+#
|
|
|
+# ********** 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
|
|
|
+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.password=123456
|
|
|
+com.qmth.redis.port=6379
|
|
|
+com.qmth.redis.db=16
|
|
|
+#
|
|
|
+# ********** file config **********
|
|
|
+#
|
|
|
+com.qmth.fss.config=/home/admin/project/exam-reserve/static
|
|
|
+com.qmth.fss.server=https://qmth-test.oss-cn-shenzhen.aliyuncs.com/apply
|
|
|
+#
|
|
|
+# ********** sys config **********
|
|
|
+#
|
|
|
+com.qmth.mybatis.block-attack=false
|
|
|
+com.qmth.mybatis.log-level=info
|
|
|
+com.qmth.logging.root-level=info
|
|
|
+com.qmth.logging.file-path=logs/exam-reserve.log
|
|
|
+#
|
|
|
+# ********** auth config **********
|
|
|
+#
|
|
|
+com.qmth.auth.time-max-delay=10m
|
|
|
+com.qmth.auth.time-max-ahead=10m
|
|
|
+#
|
|
|
+# ********** wx config **********
|
|
|
+#
|
|
|
+wx.app_id=wx90d496f6838bcff7
|
|
|
+wx.app_secret=7802a1c8ff50344977fa0c18b4d147a8
|
|
|
+
|