Commit 236ed405 authored by 陈精华's avatar 陈精华 Committed by kl

启动脚本&配置文件

parent 0fb02e3c
......@@ -164,6 +164,9 @@
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/conf</directory>
</resource>
</resources>
<plugins>
<plugin>
......
java -jar jodconverter-web-1.5.8.RELEASE.jar -> ..\\log\\kkFileView.log
\ No newline at end of file
#!/bin/bash
nohup java -jar jodconverter-web-1.5.8.RELEASE.jar ../log/kkFileView.log 2>&1 &
\ No newline at end of file
......@@ -11,5 +11,20 @@ spring.freemarker.expose-session-attributes = true
spring.freemarker.request-context-attribute = request
spring.freemarker.suffix = .ftl
#默认环境
spring.profiles.active=dev
\ No newline at end of file
##资源映射路径
file.dir = D:\\kkFileview\\
spring.resources.static-locations = classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
## openoffice home路径
office.home = C:\\Program Files (x86)\\OpenOffice 4
server.tomcat.uri-encoding = UTF-8
converted.file.charset = GBK
#文件上传限制
spring.http.multipart.max-file-size=100MB
##文本类型
simText = txt,html,xml,java,properties,mp3,mp4,sql
#多媒体类型
media=mp3,mp4,flv,
#缓存实现类型,不配默认为JDK实现,可配置为redis实现(需要配置spring.redisson.address等参数)
#cache.type = redis
#redis连接
#spring.redisson.address = 192.168.1.204:6379
\ No newline at end of file
##资源映射路径
file.dir = C:\\Users\\yudian\\Desktop\\dev\\
spring.resources.static-locations = classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
## openoffice home路径
office.home = C:\\Program Files (x86)\\OpenOffice 4
server.tomcat.uri-encoding = UTF-8
converted.file.charset = GBK
#文件上传限制
spring.http.multipart.max-file-size=100MB
##文本类型
simText = txt,html,xml,java,properties,mp3,mp4,sql
#多媒体类型
media=mp3,mp4,flv,rmvb
#缓存及队列实现类型,默认为JDK实现,可选redis(需要加spring.redisson.address等配置)
#cache.type = redis
#spring.redisson.address = 192.168.1.204:6379
\ No newline at end of file
file.dir = /data/file-preview/convertedFile/
spring.resources.static-locations = classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
office.home = /opt/openoffice4
server.tomcat.uri-encoding = utf-8
converted.file.charset = utf-8
spring.http.multipart.max-file-size = 100MB
simText = txt,html,xml,java,properties,sql,js,md,json,conf,ini,vue,php,py,bat,gitignore,log,htm,css,cnf
media=mp3,mp4,flv
cache.type = redis
spring.redisson.address = 10.19.140.7:6379
spring.redisson.database = 0
\ No newline at end of file
file.dir = /data/filepreview/
spring.resources.static-locations = classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
openOfficePath = 123
office.home = /opt/openoffice4
server.tomcat.uri-encoding = utf-8
converted.file.charset = utf-8
spring.http.multipart.max-file-size = 100MB
simText = txt,html,xml,java,properties,sql,js,md,json,conf,ini,vue,php,py,bat,gitignore,log,htm,css,cnf
media=mp3,mp4,flv
cache.type = redis
spring.redisson.address = 192.168.1.204:6379
spring.redisson.database = 3
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment