zero-ppanel/apps/node/etc/node-prod.yaml

50 lines
823 B
YAML

Name: zero-ppanel-node
Host: 0.0.0.0
Port: 8082
Mode: pro
Log:
Mode: file
Encoding: json
Level: info
Path: /var/log/zero-ppanel/node
KeepDays: 15
Rotation: daily
Telemetry:
Name: zero-ppanel-node
Endpoint: http://jaeger:4318/v1/traces
Sampler: 0.1
Batcher: otlphttp
DevServer:
Enabled: true
Port: 6162
EnableMetrics: true
EnablePprof: false
NodeSecret: "${NODE_SECRET}"
MySQL:
DataSource: "${MYSQL_DSN}"
Redis:
Host: "${REDIS_HOST}"
Type: node
Pass: "${REDIS_PASS}"
CacheRedis:
Host: "${REDIS_HOST}"
Type: node
Pass: "${REDIS_PASS}"
AppSignature:
AppSecrets:
android-client: "${APP_SECRET}"
web-client: "${APP_SECRET}"
ios-client: "${APP_SECRET}"
mac-client: "${APP_SECRET}"
ValidWindowSeconds: 300
SkipPrefixes:
- /api/v1/node/health