|
@@ -1,4 +1,4 @@
|
|
|
-spring.profiles.active=gz
|
|
|
+spring.profiles.active=test
|
|
|
|
|
|
spring.datasource.url=jdbc:mysql://localhost:3306/stmms-ms-2?useUnicode=true&characterEncoding=UTF-8
|
|
|
spring.datasource.username=root
|
|
@@ -16,7 +16,7 @@ spring.datasource.test-on-borrow=true
|
|
|
#spring.redis.host=192.168.199.102
|
|
|
#spring.redis.port=32768
|
|
|
server.tomcat.max-threads=256
|
|
|
-server.port=9000
|
|
|
+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
|
|
|
|
|
@@ -37,23 +37,23 @@ app.admin.loginName=admin-cy
|
|
|
#超级管理员密码
|
|
|
app.admin.password=123456
|
|
|
#大图存放目录
|
|
|
-sys.config.imageDir=/Users/yuanpan/tmp/stmms-ms/static/images
|
|
|
+sys.config.imageDir=/home/xuhuaq/stmms-ms/images
|
|
|
#缩略图存放目录
|
|
|
-sys.config.thumbDir=/Users/yuanpan/tmp/stmms-ms/static/thumbs
|
|
|
+sys.config.thumbDir=/home/xuhuaq/stmms-ms/thumbs
|
|
|
#分数水印图存放目录
|
|
|
-sys.config.watermark=/Users/yuanpan/tmp/stmms-ms/static/watermark
|
|
|
+sys.config.watermark=/home/xuhuaq/stmms-ms/watermark
|
|
|
#sys.config.imageDir=.\\static\\images
|
|
|
#sys.config.thumbDir=.\\static\\thumbs
|
|
|
#图片压缩比
|
|
|
sys.config.compression.percent=60
|
|
|
#sys.config.imageServer.port=3000
|
|
|
#图片服务器端口
|
|
|
-sys.config.imageServer.port=9000
|
|
|
+sys.config.imageServer.port=8080
|
|
|
#图片服务器ip
|
|
|
-sys.config.imageServer.ip=192.168.1.100
|
|
|
+sys.config.imageServer.ip=118.122.113.10
|
|
|
|
|
|
|
|
|
#前端部署目录
|
|
|
-web.upload-path=/Users/yuanpan/tmp/stmms-ms/static/
|
|
|
+web.upload-path=/home/xuhuaq/stmms-ms/
|
|
|
spring.mvc.static-path-pattern=/**
|
|
|
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
|