2022-02-20 11:51:55 +00:00
|
|
|
# 开发环境配置
|
|
|
|
server:
|
2022-03-21 08:46:27 +00:00
|
|
|
prefix: '/api'
|
2022-02-20 11:51:55 +00:00
|
|
|
port: 5001
|
|
|
|
collaborationPort: 5003
|
2022-05-18 13:14:18 +00:00
|
|
|
maxDocumentVersion: 20 # 最大版本记录数
|
2022-02-20 11:51:55 +00:00
|
|
|
|
|
|
|
client:
|
2022-05-18 13:14:18 +00:00
|
|
|
port: 5002
|
2022-03-21 08:46:27 +00:00
|
|
|
assetPrefix: '/'
|
|
|
|
apiUrl: 'http://localhost:5001/api'
|
|
|
|
collaborationUrl: 'ws://localhost:5003'
|
2022-02-20 11:51:55 +00:00
|
|
|
|
|
|
|
# 数据库配置
|
|
|
|
db:
|
|
|
|
mysql:
|
2022-03-21 08:46:27 +00:00
|
|
|
host: '127.0.0.1'
|
|
|
|
username: 'root'
|
|
|
|
password: 'root'
|
|
|
|
database: 'think'
|
2022-02-20 11:51:55 +00:00
|
|
|
port: 3306
|
2022-03-21 08:46:27 +00:00
|
|
|
charset: 'utf8mb4'
|
|
|
|
timezone: '+08:00'
|
2022-02-20 11:51:55 +00:00
|
|
|
synchronize: true
|
2022-03-29 14:23:41 +00:00
|
|
|
redis:
|
|
|
|
host: '127.0.0.1'
|
|
|
|
port: '6379'
|
|
|
|
password: 'root'
|
2022-02-20 11:51:55 +00:00
|
|
|
|
|
|
|
# oss 文件存储服务
|
|
|
|
oss:
|
|
|
|
aliyun:
|
2022-03-25 09:17:10 +00:00
|
|
|
accessKeyId: ''
|
|
|
|
accessKeySecret: ''
|
|
|
|
bucket: ''
|
2022-02-20 11:51:55 +00:00
|
|
|
https: true
|
2022-03-25 09:17:10 +00:00
|
|
|
region: ''
|
2022-02-20 11:51:55 +00:00
|
|
|
|
|
|
|
# jwt 配置
|
|
|
|
jwt:
|
2022-03-21 08:46:27 +00:00
|
|
|
secretkey: 'zA_Think+KNOWLEDGE+WIKI+DOCUMENTS@2022'
|
|
|
|
expiresIn: '6h'
|