Workers & scheduled jobs
Keep document ingestion running, then enable Inngest for the background workflows that use it.
The worker is required for ingestion
The app accepts document work into a durable database outbox. The worker consumes it. Inngest is not required for that ingestion path, but stopping the worker leaves accepted work waiting.
Run app and worker with the same database, storage, provider configuration, and encryption keys. The worker exposes /healthz for liveness and /readyz for a bounded database readiness check.
Local Inngest
The base Docker stack runs an Inngest dev server registered against http://worker:8020/api/inngest. For host development, run the worker first and launch the CLI below. Configure INNGEST_DEV for the dev server's reachable origin.
pnpm --filter @launchstack/web inngest:devThe serve endpoint belongs to the worker on port 8020, not the Next.js app on port 3000.
Production Inngest
The production overlay replaces the dev server with a self-hosted Inngest server (inngest start), keeping its history in an inngest database on the same Postgres and its queue in a small Redis. It finds the worker at http://worker:8020/api/inngest on its own. Set your own event key and signing key; Compose refuses to start without them (with an event key and no signing key, jobs are accepted and never run).
# each value: the output of openssl rand -hex 32
INNGEST_EVENT_KEY=replace-with-64-hex-characters
INNGEST_SIGNING_KEY=replace-with-64-hex-charactersNothing outside the server calls the worker, so Caddy does not route /api/inngest. The Inngest dashboard has no login: it listens on 127.0.0.1 only, so reach it over an SSH tunnel. To use Inngest Cloud instead, see the runbook in docs/runbooks/azure-lean-deploy.md.