Personal portfolio and CV site built with Next.js 16, Payload CMS 3.x, and PostgreSQL.
Live at cv.mfrh.xyz
- Node.js 22+
- Colima (or any Docker runtime)
npm install
npm run devThis single command:
- Starts Colima (Docker runtime) if not already running
- Starts PostgreSQL via
docker-compose.dev.yml(port 5433) - Starts Next.js dev server on localhost:3000
On first run with an empty database, the seed script automatically creates:
- Admin user (
admin@mfrh.xyz) - Homepage with hero block
- CV data and sample cover letter (from
content/)
To start fresh, remove the Docker volume and restart:
docker compose -f docker-compose.dev.yml down -v
npm run devDeployed via Docker + Coolify. Migrations are required for schema changes:
npm run payload migrate:create
npm run payload migrate