01-configmap.yaml 1.1 KB

12345678910111213141516171819202122232425
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: pipeline-env
  5. namespace: pipeline
  6. data:
  7. # Non-sensitive runtime config. Secrets (API keys, OSS keys, Feishu webhook)
  8. # live in the `pipeline-env-secret` Secret, generated from your local .env —
  9. # see README.md. Anything here can also be overridden by that Secret.
  10. OUTPUT_DIR: /app/output
  11. PIPELINE_JOBS_DIR: /app/jobs
  12. # Daily-pick dedup history (covered.json) — jobs PVC subdirectory, so it
  13. # survives restarts and is backed up together with the jobs store.
  14. PIPELINE_COVERED_DIR: /app/jobs/covered
  15. OUTPUT_RETENTION_DAYS: "30"
  16. TIMEZONE: Asia/Shanghai
  17. TZ: Asia/Shanghai
  18. LOG_LEVEL: info
  19. NODE_ENV: production
  20. # Scheduled renders — the in-process scheduler (instrumentation + node-cron)
  21. # reads `schedules` from config/default.yaml by default (baked into the
  22. # image). Override with SCHEDULES (JSON array, same shape) or disable the
  23. # scheduler with SCHEDULER_ENABLED=false.
  24. SCHEDULER_ENABLED: "true"
  25. # SCHEDULES: '[{"cron":"50 7 * * *","template":"github-trending","platform":"bilibili","source":"github-trending","publish":true}]'