🎨 update example.config.yaml
This commit is contained in:
@@ -11,19 +11,19 @@ system:
|
||||
# 前端地址
|
||||
web: localhost:5173
|
||||
# 信任代理ip地址
|
||||
ip: 127.0.0.1
|
||||
ip:
|
||||
#swagger配置
|
||||
swagger:
|
||||
# 是否启用swagger
|
||||
enable: true
|
||||
enable:
|
||||
# 文档标题
|
||||
title: Schisandra Cloud Album API
|
||||
title:
|
||||
# 文档描述
|
||||
description: Schisandra Cloud Album API
|
||||
description:
|
||||
# 用户名
|
||||
user: schisandra
|
||||
user:
|
||||
# 密码
|
||||
password: schisandra
|
||||
password:
|
||||
# MySQL配置
|
||||
mysql:
|
||||
# 主机地址
|
||||
@@ -31,11 +31,11 @@ mysql:
|
||||
# 端口
|
||||
port: 3306
|
||||
# 数据库名称
|
||||
db: schisandra-cloud-album
|
||||
db:
|
||||
# 用户名
|
||||
user: root
|
||||
user:
|
||||
# 密码
|
||||
password: xxxxxxxx
|
||||
password:
|
||||
# 日志级别
|
||||
log-level: dev
|
||||
# 最大连接数
|
||||
@@ -46,13 +46,13 @@ mysql:
|
||||
config: charset=utf8mb4&parseTime=True&loc=Local
|
||||
mongodb:
|
||||
# 主机地址
|
||||
host: xxxxx
|
||||
host:
|
||||
# 端口
|
||||
port: 27017
|
||||
port:
|
||||
# 认证源
|
||||
auth-source: admin
|
||||
auth-source:
|
||||
# 数据库名称
|
||||
db: schisandra-cloud-album
|
||||
db:
|
||||
# 用户名
|
||||
user: xxxx
|
||||
# 密码
|
||||
@@ -68,13 +68,13 @@ logger:
|
||||
# 日志级别
|
||||
level: info
|
||||
# 日志前缀
|
||||
prefix: schisandra
|
||||
prefix:
|
||||
# 日志文件存放目录
|
||||
director: "tmp/logs"
|
||||
# 是否显示文件行号
|
||||
show-line: true
|
||||
# 日志文件名
|
||||
log-name: schisandra-cloud-album
|
||||
log-name:
|
||||
# Redis配置
|
||||
redis:
|
||||
# 主机地址
|
||||
@@ -82,7 +82,7 @@ redis:
|
||||
# 端口
|
||||
port: 6379
|
||||
# 密码
|
||||
password: xxxxx
|
||||
password:
|
||||
# 数据库
|
||||
db: 0
|
||||
# 最大连接数
|
||||
@@ -99,15 +99,15 @@ redis:
|
||||
sms:
|
||||
ali:
|
||||
# 阿里云API地址
|
||||
host: xxxxx
|
||||
host:
|
||||
# 阿里云AccessKeyId
|
||||
access-key-id: xxxxx
|
||||
access-key-id:
|
||||
# 阿里云AccessKeySecret
|
||||
access-key-secret: xxxxx
|
||||
access-key-secret:
|
||||
# 短信模板ID
|
||||
template-id: xxxxxx
|
||||
template-id:
|
||||
# 短信签名
|
||||
signature: 阿里云短信测试
|
||||
signature:
|
||||
sms-bao:
|
||||
# 短信宝用户账号
|
||||
user: xxx
|
||||
@@ -118,17 +118,17 @@ jwt:
|
||||
# JWT加密密钥
|
||||
secret: xxxxxx
|
||||
# JWT请求头键名
|
||||
header-key: Authorization
|
||||
header-key: A
|
||||
# JWT请求头前缀
|
||||
header-prefix: Bearer
|
||||
header-prefix:
|
||||
# JWT签发者
|
||||
issuer: schisandra-cloud-album
|
||||
issuer: s
|
||||
# 加密配置
|
||||
encrypt:
|
||||
# 加密密钥 32位
|
||||
key: xxxxxxxxxxxxxxxxxxxxxx
|
||||
key:
|
||||
# 加密向量 16位
|
||||
iv: xxxxxxxxxxxxxxx
|
||||
iv:
|
||||
# 公钥
|
||||
public-key:
|
||||
# 私钥
|
||||
@@ -136,38 +136,38 @@ encrypt:
|
||||
# 微信配置
|
||||
wechat:
|
||||
# 微信公众号APPID
|
||||
app-id: xxxxx
|
||||
app-id:
|
||||
# 微信公众号APPSECRET
|
||||
app-secret: xxxx
|
||||
app-secret:
|
||||
# 微信公众号Token
|
||||
token: xxxx
|
||||
token:
|
||||
# 微信公众号EncodingAESKey
|
||||
aes-key:
|
||||
oauth:
|
||||
# Github配置
|
||||
github:
|
||||
# Github客户端ID
|
||||
client-id: xxxx
|
||||
client-id:
|
||||
# Github客户端密钥
|
||||
client-secret: xxxx
|
||||
client-secret:
|
||||
# Github回调地址
|
||||
redirect-uri: xxxxxxxxxxxxx
|
||||
redirect-uri:
|
||||
# Gitee配置
|
||||
gitee:
|
||||
# Gitee客户端ID
|
||||
client-id: xxxx
|
||||
client-id:
|
||||
# Gitee客户端密钥
|
||||
client-secret: xxxx
|
||||
client-secret:
|
||||
# Gitee回调地址
|
||||
redirect-uri: xxxxxxxxxxxx
|
||||
redirect-uri:
|
||||
# QQ配置
|
||||
qq:
|
||||
# QQ客户端ID
|
||||
client-id: xxxx
|
||||
client-id:
|
||||
# QQ客户端密钥
|
||||
client-secret: xxxx
|
||||
client-secret:
|
||||
# QQ回调地址
|
||||
redirect-uri: xxxxxxxxxxxxxxxxxxxx
|
||||
redirect-uri:
|
||||
casbin:
|
||||
# 权限模型文件路径
|
||||
model-path: config/rbac_model.conf
|
||||
@@ -178,11 +178,11 @@ casbin:
|
||||
# nsq配置
|
||||
nsq:
|
||||
# nsqd地址
|
||||
host: xxx
|
||||
host:
|
||||
# nsqd端口
|
||||
port: 4150
|
||||
# nsqlookupd地址
|
||||
lookupd-host: xxxx
|
||||
lookupd-host:
|
||||
# nsqlookupd端口
|
||||
lookupd-port: 4161
|
||||
|
||||
|
Reference in New Issue
Block a user