mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-02 07:36:37 +00:00
增加生产环境配置
This commit is contained in:
21
novel-front/src/main/resources/application-prod.yml
Normal file
21
novel-front/src/main/resources/application-prod.yml
Normal file
@ -0,0 +1,21 @@
|
||||
spring:
|
||||
profiles:
|
||||
include: [common-prod]
|
||||
|
||||
#thymeleaf模版路径配置
|
||||
thymeleaf:
|
||||
prefix: file:${user.dir}/templates/${templates.name}/html/
|
||||
suffix: .html
|
||||
|
||||
#模版配置
|
||||
templates:
|
||||
name: orange
|
||||
|
||||
|
||||
pic:
|
||||
save:
|
||||
type: 2 #图片保存方式, 1不保存,使用爬取的网络图片 ,2保存在自己的存储介质
|
||||
storage: local #存储介质,local:本地,OSS:阿里云对象存储,fastDfs:分布式文件系统
|
||||
path: /var/pic #图片保存路径
|
||||
|
||||
|
Reference in New Issue
Block a user