Documentation
Quickstart
Bring up ApiAny on Dokploy with PostgreSQL-backed data access.
1. Install dependencies
Run `pnpm install` in the project root.
Use `pnpm build` to verify the standalone Node build output can be generated locally.
2. Configure environment variables
Set `DATABASE_URL`, Google One Tap auth variables, Stripe keys, `CRON_SECRET`, and S3-compatible `STORAGE_*` variables.
Configure the required model access credentials in the admin operations console before testing API requests.
3. Deploy to Dokploy
Deploy with the included Dockerfile and expose port `3000`.
Configure Dokploy cron jobs to call `/api/internal/jobs/process-pending-media`, `/api/internal/jobs/check-stale-tasks`, `/api/internal/jobs/scheduled-low-frequency`, and `/api/internal/jobs/scheduled-maintenance` with `X-Cron-Token`.
If you restore the full docs system later, keep it build-time static so docs loading does not couple itself to the API runtime path.
