---
title: "Deploy Medusajs 2.17.2 + Storefront (NEW!)"
description: "Full ecommerce solution, manage products, inventory, orders, etc."
category: "Other"
url: https://railway.com/deploy/medusajs-2136-storefront-new
---

# Deploy Medusajs 2.17.2 + Storefront (NEW!)

Full ecommerce solution, manage products, inventory, orders, etc.

**[Deploy Medusajs 2.17.2 + Storefront (NEW!) on Railway](https://railway.com/template/medusajs-2136-storefront-new)**

- **Creator:** Rasmus Puls's Projects
- **Category:** Other
- **Total deploys:** 113

## Template content

### MeiliSearch https://res.cloudinary.com/hczpmiapo/image/upload/v1734032868/Static%20assets/Logos/MeiliSearch_ai0xcv.svg

- **Image:** getmeili/meilisearch:v1.11.3
- **Public domain:** Yes

### Bucket-proxy

- **Image:** ghcr.io/railwayapp/function-bun:1.3.0
- **Start command:** `./run.sh aW1wb3J0IHsgczMgfSBmcm9tICJidW4iOwoKY29uc3QgQ0FDSEVfQ09OVFJPTCA9CiAgQnVuLmVudi5DQUNIRV9DT05UUk9MIHx8ICJwdWJsaWMsIG1heC1hZ2U9MzE1MzYwMDAsIGltbXV0YWJsZSI7CgpleHBvcnQgZGVmYXVsdCB7CiAgYXN5bmMgZmV0Y2gocmVxOiBSZXF1ZXN0KTogUHJvbWlzZTxSZXNwb25zZT4gewogICAgY29uc3QgdXJsID0gbmV3IFVSTChyZXEudXJsKTsKCiAgICAvLyBQdWJsaWMgaGVhbHRoIGNoZWNrIGZvciBSYWlsd2F5LgogICAgaWYgKHVybC5wYXRobmFtZSA9PT0gIi9oZWFsdGgiKSB7CiAgICAgIHJldHVybiBuZXcgUmVzcG9uc2UoSlNPTi5zdHJpbmdpZnkoeyBzdGF0dXM6ICJvayIgfSksIHsKICAgICAgICBzdGF0dXM6IDIwMCwKICAgICAgICBoZWFkZXJzOiB7ICJDb250ZW50LVR5cGUiOiAiYXBwbGljYXRpb24vanNvbiIgfSwKICAgICAgfSk7CiAgICB9CgogICAgLy8gVGhpcyBwcm94eSBpcyBzdHJpY3RseSByZWFkLW9ubHk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DT05UUk9MLAogICAgICAiWC1Db250ZW50LVR5cGUtT3B0aW9ucyI6ICJub3NuaWZmIiwKICAgIH07CgogICAgcmV0dXJuIHJlcS5tZXRob2QgPT09ICJIRUFEIgogICAgICA/IG5ldyBSZXNwb25zZShudWxsLCB7CiAgICAgICAgICBzdGF0dXM6IDIwMCwKICAgICAgICAgIGhlYWRlcnMsCiAgICAgICAgfSkKICAgICAgOiBuZXcgUmVzcG9uc2UoZmlsZS5zdHJlYW0oKSwgewogICAgICAgICAgc3RhdHVzOiAyMDAsCiAgICAgICAgICBoZWFkZXJzLAogICAgICAgIH0pOwogIH0sCn07`
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:latest

### Storefront https://medusajs.com/_next/image/?url=%2Fimages%2Fnextjs-app-logo-3c93cee1.png&w=256&q=75

- **Source:** rpuls/medusajs-2.0-for-railway-boilerplate
- **Start command:** `npm run start`
- **Health check:** /api/healthcheck
- **Public domain:** Yes

### Backend https://res.cloudinary.com/hczpmiapo/image/upload/v1731251847/Static%20assets/Logos/Medusa_kxzkos.png

- **Source:** rpuls/medusajs-2.0-for-railway-boilerplate
- **Health check:** /health
- **Public domain:** Yes

### Redis https://devicons.railway.app/i/redis.svg

- **Image:** redis:8.2.1

## Buckets

- **Bucket**

## Documentation

# Deploy and Host MedusaJS 2.0 + Storefront on Railway

Deploy a **best-in-class e-commerce stack** in minutes. This boilerplate brings you an all-in-one MedusaJS 2.0 webshop solution, preconfigured with backend, admin dashboard, and a connected storefront (webshop). Everything you need to get started with a modern, feature-rich shop, now updated to **v2.17.2 🤩 (18. July 2026)**.

### Video Instructions
[![Watch the video](https://img.youtube.com/vi/Gr5F2j5B-os/maxresdefault.jpg)](https://youtu.be/Gr5F2j5B-os)
Click ☝️ to play on YouTube

### Additional Docs & Resources
- Full guide: [https://funkyton.com/medusajs-2-0-is-finally-here/](https://funkyton.com/medusajs-2-0-is-finally-here/)
- GitHub: [https://github.com/rpuls/medusajs-2.0-for-railway-boilerplate](https://github.com/rpuls/medusajs-2.0-for-railway-boilerplate)

## About Hosting MedusaJS 2.0 + Storefront

Host the next-gen MedusaJS 2.0 e-commerce stack—complete with storefront, admin dashboard, and all services—without tedious setup. This template configures backend, frontend, Redis, Postgres, Railway storage bucket, MeiliSearch, and more, so your shop is production-ready from the first deploy. Benefit from automated admin creation, strong secrets, API key sharing, health checks, and pre-bundled Stripe and email plugins. Railway handles the cloud infrastructure so you can focus on building your business or project. Ideal for fast prototyping, custom e-commerce, personal hobby webshop, and ambitious side-projects.

## Common Use Cases

- Launching a modern full-featured e-commerce store fast
- Scaling a boutique business with multi-warehouse inventory and advanced promos
- Experimenting, learning, or rapid-prototyping in open source commerce
- Complex custom solution that enterprise e-com can't delivery

## Dependencies for MedusaJS 2.0 + Storefront Hosting

- GitHub account and Railway account
- Railway Hobby plan (€5/month) 
- Stripe/Resend/Sendgrid API keys for payments/emails (optional for enhanced features)

### Deployment Dependencies

- [MedusaJS official docs](https://docs.medusajs.com/)
- [GitHub repo](https://github.com/rpuls/medusajs-2.0-for-railway-boilerplate)
- [How-to Guides & Blog](https://funkyton.com/medusajs-2-0-is-finally-here/)
- [Video: Install locally (after deploy)](https://youtu.be/PPxenu7IjGM)

### Implementation Details

- All services (backend, frontend, Redis, Postgres, Railway storage bucket, MeiliSearch) auto-configure and connect on deploy.
- Health checks mean you know exactly when everything is ready.
- Automatic admin user creation with a randomized strong password.
- Publishable API keys and JWT/COOKIE secrets securely generated.
- Pre-installed Stripe & email plugins—just add keys and go!
- Community resources and troubleshooting: [MedusaJS Discord](https://discord.com/invite/medusajs), [Railway Discord](https://discord.com/invite/railway)

## Why Deploy MedusaJS 2.0 + Storefront 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 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.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/medusajs-2136-storefront-new
