zero-ppanel/apps/api/etc/api-dev.yaml
shanshanzhong b8dab70de5
Some checks failed
Build docker and publish / prepare (20.15.1) (push) Successful in 10s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.admin image_name:ppanel-admin name:admin]) (push) Successful in 1m16s
Build docker and publish / deploy (push) Has been cancelled
Build docker and publish / notify (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.rpc-core image_name:ppanel-rpc-core name:rpc-core]) (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.scheduler image_name:ppanel-scheduler name:scheduler]) (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.node image_name:ppanel-node name:node]) (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.queue image_name:ppanel-queue name:queue]) (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.api image_name:ppanel-api name:api]) (push) Has been cancelled
feat: 新增设备登录开关配置,优化 CI Go 模块缓存机制,并添加解密中间件调试日志。
2026-03-01 20:21:02 -08:00

60 lines
942 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"
Device:
Enable: true
Asynq:
Addr: 127.0.0.1:6379
CoreRpc:
Target: 127.0.0.1:8083