Files
pulse/.env.example
T
jaredandClaude Opus 5.5 cb2c7a10fd
CI / Lint (eslint) (pull_request) Successful in 25s
CI / Test (jest) (pull_request) Failing after 23s
CI / Security (npm audit) (pull_request) Successful in 10s
CI / Integration (api) (pull_request) Successful in 2m24s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m49s
CI / UI screenshots (before/after) (pull_request) Successful in 17s
CI / UI (playwright) (pull_request) Successful in 1m52s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
Docs: correct setup, workflow and scheduler reference, env vars, schema (#28)
- Server setup: npm ci, .env from .env.example, /healthz check; no
  SECRET_KEY (nothing reads it).
- Worker setup was wrong (worker.js lives in worker/, and the deps come
  from the root manifests): copy worker.js plus package.json and
  package-lock.json, npm ci --omit=dev, .env from worker/.env.example;
  updates then come through the worker deploy hook.
- Workflows: replaces "Future Feature" with a reference for every step
  type and field, the condition language, params, goto/end, dry run,
  abort, webhooks and the time limit, with a worked example. New
  Scheduler section.
- Environment variables: complete tables for server and worker,
  including GANDALF_API_KEY, EXECUTION_MAX_MINUTES, HOST, rate limits.
- Database schema: the real tables and columns, scheduled_commands
  included.
- Troubleshooting: stuck executions now fail on their own; how to clear.
- Removed the stale "Recent Updates" and "Future Enhancements" lists.
- .env.example and worker/.env.example; package.json license is MIT, like
  LICENSE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:11:45 -05:00

29 lines
650 B
Bash

# PULSE server configuration. Copy to .env (chmod 600) and fill in. See README "Configuration".
PORT=8080
HOST=0.0.0.0
NODE_ENV=production
# MariaDB
DB_HOST=
DB_PORT=3306
DB_NAME=pulse
DB_USER=pulse
DB_PASSWORD=
# Reverse proxy that runs Authelia forward auth (only it may send identity headers)
TRUSTED_PROXIES=
# Shared key the workers authenticate with; WORKER_AUTH_ENFORCE=1 refuses workers without it
WORKER_API_KEY=
WORKER_AUTH_ENFORCE=1
# Key for Gandalf's /api/internal calls (leave empty to disable them)
GANDALF_API_KEY=
# Limits
EXECUTION_MAX_MINUTES=60
EXECUTION_RETENTION_DAYS=30
# PULSE_API_RATE_MAX=1000
# PULSE_EXEC_RATE_MAX=20