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>
Docker setup for Scribase Mail
Dockerfilebuilds the web app (Next.js standalone) from the monorepo root.start.shrunsprisma migrate deployand starts the server.dev/compose.ymlstarts Postgres and Redis for local development (pnpm dx:up).testing/compose.ymlstarts 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