server/etc/ppanel.yaml

40 lines
814 B
YAML

Host: 0.0.0.0
Port: 8080
TLS:
Enable: false
CertFile: ""
KeyFile: ""
Debug: false
JwtAuth:
AccessSecret: 89270267-f1dc-4136-9c9c-dc38c4685d63
AccessExpire: 604800
Logger:
ServiceName: PPanel
Mode: file
Encoding: json
TimeFormat: "2006-01-02 15:04:05.000"
Path: logs
Level: info
MaxContentLength: 0
Compress: false
Stat: true
KeepDays: 0
StackCooldownMillis: 100
MaxBackups: 0
MaxSize: 0
Rotation: daily
FileTimeFormat: 2006-01-02T15:04:05.000Z07:00
MySQL:
Addr: mysql_db:3306
Username: root
Password: rootpassword
Dbname: my_database
Config: charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai
MaxIdleConns: 10
MaxOpenConns: 10
SlowThreshold: 1000
Redis:
Host: redis_cache:6379
Pass:
DB: 0