Docker Compose (dev services)

Understand the local Docker stack for Postgres, MinIO, and supporting services.

Last updated May 27, 2026

What runs in Docker locally

The root compose.yaml starts development infrastructure:

  • Postgres on port 5432
  • MinIO on port 9000 (console on 9001)
  • minio-init to create the wrkin bucket

The SvelteKit app and collab server run on the host via pnpm dev and pnpm collab:dev.

Start and stop

pnpm db:start    # docker compose up
docker compose down

To reset local data completely:

pnpm setup -- --reset

Storage configuration

Set S3_* in .env to match the MinIO defaults from .env.example. Doc images and task attachments are stored in the wrkin bucket.

Production vs local

compose.yaml is for local development only. Production uses compose.prod.yaml with the app image, collab service, Caddy TLS, and backups. See Production deployment.