Files
zyplayer-doc/zyplayer-doc-manage/src/main/resources/application.yml

57 lines
2.4 KiB
YAML
Raw Normal View History

2022-01-05 23:05:30 +08:00
# 端口和根路径jar启动时依此处配置放tomcat后以tomcat的配置为准
server:
port: 8083
servlet:
context-path: /zyplayer-doc
2019-05-30 20:39:15 +08:00
# 整个文档项目的配置
2018-12-19 23:12:40 +08:00
zyplayer:
doc:
2019-05-30 20:39:15 +08:00
# ------zyplayer_doc_manage相关配置------
2018-12-19 23:12:40 +08:00
manage:
# 版本和升级信息获取地址
upgradePropertiesUrl: https://gitee.com/zyplayer/zyplayer-doc/raw/master/upgrade.properties
2019-05-30 20:39:15 +08:00
# 系统根域名调试UI时需要使用同时需要在host文件里配置127.0.0.1 local.zyplayer.com
originDomainRegex: .*\.zyplayer\.com(:\d+|)$
# 管理端的数据库配置
2018-12-19 23:12:40 +08:00
datasource:
driverClassName: com.mysql.cj.jdbc.Driver
2023-01-05 22:22:33 +08:00
url: jdbc:mysql://127.0.0.1:3306/zyplayer_doc_manage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false
2018-12-19 23:12:40 +08:00
username: root
password: root
2020-06-19 22:22:52 +08:00
# ------WIKI文档相关------
2019-05-30 20:39:15 +08:00
wiki:
2020-06-19 22:22:52 +08:00
# WIKI文档的文件上传后的存储目录截图或文件还是很重要的建议您还要定期备份此目录的文件呢
upload-path: c:/zyplayerDoc/wikiFiles
2020-06-19 22:22:52 +08:00
# 是否检查目录有被系统定期清理的风险,强烈建议开启
upload-path-check: true
# git本地仓库地址用于管理WIKI的历史版本
git-local-path: c:/zyplayerDoc/wikiGitFiles
# git远程仓库地址可选配置项如果存在则会每次修改后push到此仓库必须先创建远程仓库项目初始化时会去拉取
# 如果没有配置此项则只会在维护一个本地的git仓库使用简单
# 例https://gitee.com/zyplayer/zyplayer-doc-wiki-files.git
git-remote-url:
# git远程仓库登录账号
git-remote-username:
# git远程仓库登录密码
git-remote-password:
# ------数据库相关配置------
db:
# 最大允许导出的行数,设置的过大有可能会导致内存溢出
download-max-row: 100000
2019-05-30 20:39:15 +08:00
swagger:
proxy-request:
# 允许代理请求的域名,正则表达式,多个使用 ; 分割,必须设置,防止通过代理接口访问到内部资源,实在觉得没必要可设置为:.+
white-domain: .+
2018-12-19 23:12:40 +08:00
spring:
application:
name: zyplayer-doc
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
datasource:
continue-on-error: true