mirror of
https://github.com/201206030/novel-plus.git
synced 2025-06-24 04:46:37 +00:00
build: 升级配置
This commit is contained in:
@ -1,46 +1,51 @@
|
||||
#端口号
|
||||
server:
|
||||
port: 8085
|
||||
|
||||
#不分表的数据库配置
|
||||
spring:
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password: test123456
|
||||
|
||||
|
||||
pic:
|
||||
save:
|
||||
#图片保存方式, 1不保存,使用网络图片 ,2本地保存
|
||||
type: 2
|
||||
#图片保存路径
|
||||
path: /var/pic
|
||||
|
||||
|
||||
#模版配置
|
||||
templates:
|
||||
name: green
|
||||
|
||||
#小说内容保存配置
|
||||
content:
|
||||
save:
|
||||
storage: db # 小说内容存储方式:db-数据库,txt-TXT文本
|
||||
path: /Users/xiongxiaoyang/books # 小说TXT文本保存路径
|
||||
|
||||
|
||||
|
||||
# HTTP 代理配置
|
||||
http:
|
||||
proxy:
|
||||
# 是否开启 HTTP 代理,true-开启,false-不开启
|
||||
enabled: false
|
||||
# 代理 IP
|
||||
ip: us.swiftproxy.net
|
||||
# 代理端口号
|
||||
port: 7878
|
||||
# 代理用户名
|
||||
username: swiftproxy_u
|
||||
# 代理密码
|
||||
password: swiftproxy_p
|
||||
|
||||
#端口号
|
||||
server:
|
||||
port: 8085
|
||||
|
||||
spring:
|
||||
data:
|
||||
redis:
|
||||
#Redis服务器IP
|
||||
host: 127.0.0.1
|
||||
#Redis服务器连接端口
|
||||
port: 6379
|
||||
#Redis服务器连接密码
|
||||
password: test123456
|
||||
#连接超时时间(毫秒)
|
||||
timeout: 10000
|
||||
|
||||
|
||||
pic:
|
||||
save:
|
||||
#图片保存方式, 1不保存,使用网络图片 ,2本地保存
|
||||
type: 2
|
||||
#图片保存路径
|
||||
path: /var/pic
|
||||
|
||||
|
||||
#模版配置
|
||||
templates:
|
||||
name: green
|
||||
|
||||
#小说内容保存配置
|
||||
content:
|
||||
save:
|
||||
storage: db # 小说内容存储方式:db-数据库,txt-TXT文本
|
||||
path: /Users/xiongxiaoyang/books # 小说TXT文本保存路径
|
||||
|
||||
|
||||
|
||||
# HTTP 代理配置
|
||||
http:
|
||||
proxy:
|
||||
# 是否开启 HTTP 代理,true-开启,false-不开启
|
||||
enabled: false
|
||||
# 代理 IP
|
||||
ip: us.swiftproxy.net
|
||||
# 代理端口号
|
||||
port: 7878
|
||||
# 代理用户名
|
||||
username: swiftproxy_u
|
||||
# 代理密码
|
||||
password: swiftproxy_p
|
||||
|
@ -5,8 +5,6 @@ spring:
|
||||
profiles:
|
||||
active: dev
|
||||
include: website,alipay,oss
|
||||
config:
|
||||
use-legacy-processing: true
|
||||
|
||||
jwt:
|
||||
secret: novel!#20191230
|
||||
|
Reference in New Issue
Block a user