
Deploy Medusajs 2.0 + Storefront (B2B)
Fork of the official Medusajs V2 B2B starter, tweaked for Railway
Backend
rpuls/medusa-b2b-for-railway
Just deployed
Console
railwayapp-templates/minio-console
Just deployed
Postgres
railwayapp-templates/postgres-ssl:latest
Just deployed
/var/lib/postgresql/data
Storefront
rpuls/medusa-b2b-for-railway
Just deployed
Redis
redis:8.2.1
Just deployed
/bitnami
Bucket
minio/minio:latest
Just deployed
/data
Deploy and Host MedusaJS 2.0 + Storefront (B2B) on Railway
This template lets you deploy a B2B-oriented MedusaJS 2.0 setup on Railway in just a few clicks. It is based on a fork of the official MedusaJS B2B repository, tweaked to better fit Railway’s cloud environment. Includes backend, admin dashboard, and a connected storefront tailored for business-to-business use cases. Version 2.8.4 (beta).
About Hosting MedusaJS 2.0 + Storefront (B2B)
This is (currently) an experimental beta template intended for testing and exploration. It sets up a minimal MedusaJS B2B stack on Railway, with connections for Postgres, Redis, MinIO, and a frontend storefront. Because this is a fork and has not been deeply tested, some features might not work as expected. Use it to experiment with or adapt Medusa’s B2B tools in a managed cloud environment.
If you run into issues or missing functions, please report in the discussion forum.
Common Use Cases
- Exploring Medusa’s B2B setup and features on Railway
- Testing company accounts, multi-user roles, and tiered pricing
- Adapting for custom B2B workflows or rapid prototyping
Dependencies for MedusaJS 2.0 + Storefront (B2B) Hosting
- GitHub account and Railway account
- Railway Hobby plan
Deployment Dependencies
Implementation Details
- Configures backend, admin dashboard, and storefront automatically
- Uses PostgreSQL, Redis, and MinIO
- Admin user auto-created at deployment
Why Deploy MedusaJS 2.0 + Storefront (B2B) on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying MedusaJS 2.0 + Storefront (B2B) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Backend
rpuls/medusa-b2b-for-railwayStorefront
rpuls/medusa-b2b-for-railwayRedis
redis:8.2.1Bucket
minio/minio:latest