|
@@ -1,34 +1,24 @@
|
|
|
spring.profiles.active=dev
|
|
|
-
|
|
|
spring.datasource.url=jdbc:mysql://localhost:3306/stmms-ms-2?useUnicode=true&characterEncoding=UTF-8
|
|
|
spring.datasource.username=root
|
|
|
spring.datasource.password=1234
|
|
|
-
|
|
|
#spring.datasource.url=jdbc:mysql://192.168.1.74:3306/stmms-ms-2?useUnicode=true&characterEncoding=UTF-8
|
|
|
#spring.datasource.username=root
|
|
|
#spring.datasource.password=root
|
|
|
-
|
|
|
-
|
|
|
spring.datasource.validation-query=SELECT 1 FROM DUAL
|
|
|
spring.datasource.test-on-borrow=true
|
|
|
-
|
|
|
#redis
|
|
|
#spring.redis.host=192.168.199.102
|
|
|
#spring.redis.port=32768
|
|
|
server.tomcat.max-threads=256
|
|
|
server.port=8080
|
|
|
server.compression.enabled=true
|
|
|
-server.compression.mime-types: application/json,application/xml,text/html,text/xml,text/plain,text/css,application/javascript
|
|
|
-
|
|
|
-
|
|
|
+server.compression.mime-types:application/json,application/xml,text/html,text/xml,text/plain,text/css,application/javascript
|
|
|
logging.file=./logs/sys.log
|
|
|
logging.level.org.springframework=ERROR
|
|
|
logging.level.org.hibernate=ERROR
|
|
|
-
|
|
|
spring.jpa.show-sql=true
|
|
|
spring.jpa.hibernate.ddl-auto=update
|
|
|
-
|
|
|
-
|
|
|
spring.http.multipart.max-file-size=10Mb
|
|
|
#表示隔多少档位才会出现仲裁
|
|
|
app.config.deviation=2
|
|
@@ -51,10 +41,7 @@ sys.config.compression.percent=60
|
|
|
sys.config.imageServer.port=8080
|
|
|
#图片服务器ip
|
|
|
sys.config.imageServer.ip=118.122.113.10
|
|
|
-
|
|
|
-sys.config.yangjuan=true
|
|
|
-
|
|
|
-
|
|
|
+sys.config.yangjuan=false
|
|
|
#前端部署目录
|
|
|
web.upload-path=/home/xuhuaq/stmms-ms/
|
|
|
spring.mvc.static-path-pattern=/**
|