Dev Container Setup

Dev Container Setup (VS Code)

For developers who want a fully containerized development environment. Everything runs inside Docker — no local Node.js or pnpm required.

Prerequisites

Tool Version
Docker Desktop 4.40+
VS Code Latest
Dev Containers extension Latest

First-Time Setup

  1. Clone the repo and ensure the production stack is running (docker compose up -d)
  2. Open the repo folder in VS Code
  3. Press F1 and select Dev Containers: Reopen in Container
  4. Wait for the dev databases to start, migrations to run, and sanitized data to populate

The dev server starts automatically on port 3001. Open http://localhost:3001 in your browser. Production remains on port 3000.

Before starting the Contributor preview, set CONTRIBUTOR_PREVIEW_PASSWORD in the repository .env to a development-only password of at least 12 characters. Do not reuse ADMIN_PASSWORD or another live credential.

Login: preview-admin@dpf.test / the value of CONTRIBUTOR_PREVIEW_PASSWORD in .env.

What the Dev Container Provides

Important Notes