Local development
This folder provides a local dev stack (Postgres + Redis) for the Kubernetes backend components.
Note: S3-compatible storage must be provided externally (AWS S3, Cloudflare R2, Google Cloud Storage, etc.).
Start dependencies
Section titled “Start dependencies”cd apps/backend/kubernetescp .env.example .env# edit .env - configure S3 credentials
docker compose up -dServices:
postgres: PostgreSQL 16db-migrate: applies Prisma schema to Postgresredis: queue/cache
Run the Kubernetes API locally
Section titled “Run the Kubernetes API locally”cd apps/backend/kubernetes/api# make sure DATABASE_URL, REDIS_URL, and S3_* are set (from your .env)cargo runRun the executor locally (for debugging)
Section titled “Run the executor locally (for debugging)”The executor is normally run as a Kubernetes Job. You can run it locally by providing the expected job input env vars (see Executor).
cd apps/backend/kubernetes/executorcargo runTear down
Section titled “Tear down”docker compose down -v