Skip to main content

Docker Deployment

Lumio ships with a production-ready Docker Compose setup in the repository root.

Configuration

Copy the root .env.example and fill in production secrets:

cp .env.example .env

Set at minimum:

  • JWT_SECRET
  • JWT_REFRESH_SECRET
  • DATABASE_URL

Start services

make start

This starts:

  • PostgreSQL 14
  • Redis 7
  • NestJS backend
  • Next.js frontend

Health checks

curl http://localhost:3001/api/v1/health/ready

Storage

Uploads are stored in backend_uploads volume. For production, map this to persistent storage or an object store integration.

Logs

make logs
make logs-backend

Next: Railway Deployment