zero-ppanel/apps/api/etc/api-dev.yaml
shanshanzhong d3da56891b
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 8m45s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.api image_name:ppanel-api name:api]) (push) Successful in 10m59s
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.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 / deploy (push) Has been cancelled
Build docker and publish / notify (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.node image_name:ppanel-node name:node]) (push) Has been cancelled
chore: 更新 api-dev.yaml 以硬编码应用密钥,并优化部署工作流,增加 Go 模块缓存并启用 Docker 构建缓存。
2026-03-01 19:44:36 -08:00

57 lines
918 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