Documentation

Local setup

Local setup

Run the full stack on your machine: PostgreSQL, Redis, MinIO, API (:8080), platform worker, and dashboard (:3000).

Prerequisites

  • Node.js 20+
  • pnpm 9.15+ (repo packageManager)
  • Docker + Compose v2

Bring up Compose

example.bash
BASH
git clone <repo> JobOrc && cd JobOrc
cp .env.example .env
# From repo root (includes infra/compose/docker-compose.yml)
docker compose up -d --build
curl -sf http://localhost:8080/healthz && echo OK

If you started Compose from infra/compose/, use that directory (or -p compose) when running docker compose ps — project name follows the folder.

Migrations

example.bash
BASH
pnpm install
pnpm --filter @joborc/db-migrations migrate:up

Create credentials

  1. Open http://localhost:3000
  2. Sign up → create organization + project
  3. Create an API key
  4. Export JOBORC_API_KEY. For local API also set JOBORC_BASE_URL=http://localhost:8080

Hybrid mode

Data services in Docker; apps on the host:

example.bash
BASH
docker compose up -d postgres redis minio
pnpm --filter @joborc/api dev
pnpm --filter @joborc/worker dev
pnpm --filter @joborc/dashboard dev

Services

  • API — http://localhost:8080
  • Dashboard — http://localhost:3000
  • MinIO console — http://localhost:9001

Next: Quickstart