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.
Build and start
Section titled “Build and start”npm run buildnpm start # or: bermooda startbermooda start runs the production server and builds first if build/ is missing.
Build output:
build/ client/ # Static assets server/ # Server bundleDocker
Section titled “Docker”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 bermoodaThe image listens on port 3000. Persist /data if you keep SQLite inside the container.
Leaving SQLite
Section titled “Leaving SQLite”SQLite is fine for local development. For production, use PostgreSQL and S3-compatible object storage:
- PostgreSQL —
DATABASE_URL,DATABASE_PROVIDER, and migrations - Storage — media uploads, public URLs, and MinIO for local testing