修改MySQL和Redis配置为本地开发环境 在Subscribe类型和模型中添加服务器相关字段 在InviteConfig中添加新配置项 启用ServerModel并修复数据库迁移错误处理 删除无用的运行配置文件
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
Host: 0.0.0.0
|
|
Port: 8080
|
|
Debug: false
|
|
JwtAuth:
|
|
AccessSecret: e4bbdb8ca57179374c0e8a7a85038da21341aee4bdff98c0e612751d7c362cac
|
|
AccessExpire: 604800
|
|
Logger:
|
|
ServiceName: PPanel
|
|
Mode: file
|
|
Encoding: plain
|
|
TimeFormat: '2025-01-01 00:00:00.000'
|
|
Path: logs
|
|
Level: debug
|
|
MaxContentLength: 0
|
|
Compress: false
|
|
Stat: true
|
|
KeepDays: 0
|
|
StackCooldownMillis: 100
|
|
MaxBackups: 0
|
|
MaxSize: 0
|
|
Rotation: daily
|
|
FileTimeFormat: 2025-01-01T00:00:00.000Z00:00
|
|
MySQL:
|
|
Addr: 127.0.0.1:3306
|
|
Dbname: dev_ppanel
|
|
Username: root
|
|
Password: rootpassword
|
|
Config: charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai
|
|
MaxIdleConns: 10
|
|
MaxOpenConns: 10
|
|
SlowThreshold: 1000
|
|
Redis:
|
|
Host: 127.0.0.1:6379
|
|
Pass:
|
|
DB: 0
|
|
Administrator:
|
|
Password: password
|
|
Email: admin@ppanel.dev
|
|
Email:
|
|
Enable: true
|
|
Platform: smtp
|
|
PlatformConfig: '{"host":"smtp.gmail.com","port":465,"user":"devneeds52@gmail.com","pass":"bqxn hurw ckxt ookj","from":"devneeds52@gmail.com","ssl":true}'
|
|
EnableVerify: true
|
|
EnableNotify: true
|
|
EnableDomainSuffix: false
|
|
DomainSuffixList: ""
|
|
VerifyEmailTemplate: ""
|
|
ExpirationEmailTemplate: ""
|
|
MaintenanceEmailTemplate: ""
|
|
TrafficExceedEmailTemplate: "" |