caelum0x a8b365b051 fix(docker): keep pnpm workspace layout in the MX image
apps/smtp-server/node_modules contains symlinks into the root pnpm store;
copying only that directory left them dangling and the container crashed
with "Cannot find module 'smtp-server'".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 02:12:30 +03:00
..
2025-11-21 20:14:05 +11:00

Docker setup for Scribase Mail

  • Dockerfile builds the web app (Next.js standalone) from the monorepo root.
  • start.sh runs prisma migrate deploy and starts the server.
  • dev/compose.yml starts Postgres and Redis for local development (pnpm dx:up).
  • testing/compose.yml starts Postgres and Redis for integration tests.

For production use deploy/compose.scribase-mail.yml and follow deploy/DEPLOY.md. Environment variables are documented in .env.selfhost.example.

Build the image locally:

./docker/build.sh