think/packages/config/yaml/dev.yaml

37 lines
689 B
YAML
Raw Normal View History

2022-02-20 19:51:55 +08:00
# 开发环境配置
server:
prefix: "/api"
port: 5001
collaborationPort: 5003
client:
assetPrefix: "/"
apiUrl: "http://localhost:5001/api"
collaborationUrl: "ws://localhost:5003"
# 数据库配置
db:
mysql:
host: "127.0.0.1"
username: "root"
password: "root"
2022-03-11 18:05:03 +08:00
database: "think"
2022-02-20 19:51:55 +08:00
port: 3306
charset: "utf8mb4"
timezone: "+08:00"
synchronize: true
# oss 文件存储服务
oss:
aliyun:
2022-03-11 13:57:55 +08:00
accessKeyId: "LTAI4Fc65yMwx2LR23PZwUed"
accessKeySecret: "I0EBFxRTWLyVk674raeYgC8h1tvSqG"
bucket: "wipi"
2022-02-20 19:51:55 +08:00
https: true
2022-03-11 13:57:55 +08:00
region: "oss-cn-shanghai"
2022-02-20 19:51:55 +08:00
# jwt 配置
jwt:
secretkey: "zA_Think+KNOWLEDGE+WIKI+DOCUMENTS@2022"
expiresIn: "6h"