Skip to content

Deploy

bermooda is a single-shop deployment: one database, one merchant back office, one catalog. It is not a multi-tenant SaaS. Sales channels are storefront surfaces for the same shop — not separate tenants.

Terminal window
npm run build
npm start # or: bermooda start

bermooda start runs the production server and builds first if build/ is missing.

Build output:

build/
client/ # Static assets
server/ # Server bundle
Terminal window
docker build -t bermooda .
docker run -p 3000:3000 bermooda
# With env file and SQLite path (example):
docker run -p 3000:3000 --env-file .env \
-e DATABASE_URL=file:/data/sqlite.db bermooda

The image listens on port 3000. Persist /data if you keep SQLite inside the container.

SQLite is fine for local development. For production, use PostgreSQL and S3-compatible object storage:

  • PostgreSQLDATABASE_URL, DATABASE_PROVIDER, and migrations
  • Storage — media uploads, public URLs, and MinIO for local testing