Skip to content

Runbooks

Cross-cutting operational procedures for the beta host. Container-specific deploy commands live in container docs; do not duplicate them here.

Service health

Area Check Notes
API GET /api/health returns {"status":"ok"}; /up responds. API/web server details: verify on host.
Realtime POST /api/broadcasting/auth returns 401 without auth; Reverb service active. Reverb backs private-company.{id} and trip.{id}.
Queue Queue worker service active and processing jobs. Unit name/runtime: verify on host.
Scheduler Scheduler timer/service active and triggering scheduled runs. Unit name/runtime: verify on host.
Web surfaces Front Views and Fleet Dashboard serve current built assets. Build/output paths: verify on host.

Secrets rotation policy

  • Rotate immediately on suspected leak or uncertain exposure; rotate old Trippp credentials before reuse.
  • Replace secrets in host env/.env only; never commit secrets or .env.
  • Restart affected services after rotation and revoke old secrets only after verification.
  • Follow Environments and secrets for inventory and credential-helper rules.

Disk and logs

  • Check disk usage for app storage, logs, DB, and Redis data partitions (verify on host paths).
  • Inspect service logs via host journal/log tooling; do not copy secrets from logs into docs/tickets.
  • For fake SMS/OTP testing, SMS_DRIVER=log may write plaintext OTPs to logs; disable after testing.

Rollback policy

  • Roll back to the last known good tagged surface release (vX.Y.Z).
  • Rebuild/redeploy static assets for web surfaces; rerun required release/cache steps for API.
  • Restart affected services and confirm health checks before closing incident.
  • Never roll forward with untagged commits or unverified secrets/config.

Container runbooks