Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-fileview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
梁杰芳
slm-fileview
Commits
8cbb1c3b
Commit
8cbb1c3b
authored
Jan 02, 2018
by
kl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增spring boot profile多文件支持
parent
2bbf0109
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
14 deletions
+33
-14
application-dev.properties
...nverter-web/src/main/resources/application-dev.properties
+14
-0
application-prod.properties
...verter-web/src/main/resources/application-prod.properties
+0
-0
application-uat.properties
...nverter-web/src/main/resources/application-uat.properties
+15
-0
application.properties
jodconverter-web/src/main/resources/application.properties
+4
-14
No files found.
jodconverter-web/src/main/resources/application-dev.properties
0 → 100644
View file @
8cbb1c3b
#=============================================#spring Redisson配置#===================================#
spring.redisson.address
=
192.168.1.204:6379
##资源映射路径(因为jar方式运行的原因)
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相关配置
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
\ No newline at end of file
jodconverter-web/src/main/resources/application-prod.properties
0 → 100644
View file @
8cbb1c3b
jodconverter-web/src/main/resources/application-uat.properties
0 → 100644
View file @
8cbb1c3b
#=============================================#spring Redisson配置#===================================#
spring.redisson.address
=
192.168.1.204:6379
spring.redisson.database
=
3
##资源映射路径(因为jar方式运行的原因)
file.dir
=
/data/filepreview/
spring.resources.static-locations
=
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
## openoffice相关配置
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,mp3,mp4,css,cnf
\ No newline at end of file
jodconverter-web/src/main/resources/application.properties
View file @
8cbb1c3b
...
...
@@ -10,16 +10,6 @@ spring.freemarker.expose-request-attributes = true
spring.freemarker.expose-session-attributes
=
true
spring.freemarker.request-context-attribute
=
request
spring.freemarker.suffix
=
.ftl
#=============================================#spring Redisson配置#===================================#
spring.redisson.address
=
192.168.1.204:6379
##资源映射路径(因为jar方式运行的原因)
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相关配置
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
\ No newline at end of file
#默认环境
spring.profiles.active
=
dev
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment