57 lines
914 B
YAML
57 lines
914 B
YAML
Name: zero-ppanel-api
|
|
Host: 0.0.0.0
|
|
Port: 8080
|
|
Mode: dev
|
|
|
|
Log:
|
|
Mode: console
|
|
Encoding: plain
|
|
Level: debug
|
|
|
|
Telemetry:
|
|
Name: zero-ppanel-api
|
|
Endpoint: 127.0.0.1:4318
|
|
Sampler: 1.0
|
|
Batcher: otlphttp
|
|
|
|
DevServer:
|
|
Enabled: true
|
|
Port: 6160
|
|
EnableMetrics: true
|
|
EnablePprof: true
|
|
|
|
JwtAuth:
|
|
AccessSecret: "dev-secret-key-change-me"
|
|
AccessExpire: 86400
|
|
|
|
MySQL:
|
|
DataSource: "root:password@tcp(127.0.0.1:3306)/ppanel?charset=utf8mb4&parseTime=true"
|
|
|
|
Redis:
|
|
Host: 127.0.0.1:6379
|
|
Type: node
|
|
|
|
CacheRedis:
|
|
Host: 127.0.0.1:6379
|
|
Type: node
|
|
|
|
AppSignature:
|
|
AppSecrets:
|
|
android-client: "uB4G,XxL2{7b"
|
|
web-client: "uB4G,XxL2{7b"
|
|
ios-client: "uB4G,XxL2{7b"
|
|
mac-client: "uB4G,XxL2{7b"
|
|
ValidWindowSeconds: 300
|
|
SkipPrefixes:
|
|
- /api/v1/health
|
|
|
|
Security:
|
|
Enable: true
|
|
SecuritySecret: "uB4G,XxL2{7b"
|
|
|
|
Asynq:
|
|
Addr: 127.0.0.1:6379
|
|
|
|
CoreRpc:
|
|
Target: 127.0.0.1:8083
|