zero-ppanel/apps/admin/etc/admin-test.yaml

49 lines
837 B
YAML

Name: zero-ppanel-admin
Host: 0.0.0.0
Port: 8081
Mode: test
Log:
Mode: file
Encoding: json
Level: info
Path: logs/admin
KeepDays: 7
Telemetry:
Name: zero-ppanel-admin
Endpoint: http://jaeger:4318/v1/traces
Sampler: 0.5
Batcher: otlphttp
DevServer:
Enabled: true
Port: 6161
EnableMetrics: true
EnablePprof: true
JwtAuth:
AccessSecret: "test-admin-secret-key-change-me"
AccessExpire: 28800
MySQL:
DataSource: "root:password@tcp(mysql:3306)/ppanel?charset=utf8mb4&parseTime=true"
Redis:
Host: redis:6379
Type: node
CacheRedis:
Host: redis: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/admin/health