---
title: "Deploy (v1) Medusa Backend with Worker Modes"
description: "Deploy an ecommerce backend and admin using Medusa"
category: "Other"
url: https://railway.com/deploy/zC7eOq
---

# Deploy (v1) Medusa Backend with Worker Modes

Deploy an ecommerce backend and admin using Medusa

**[Deploy (v1) Medusa Backend with Worker Modes on Railway](https://railway.com/template/zC7eOq)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/zC7eOq/manifest.json

- **Creator:** Shahed Nasser's Projects
- **Category:** Other
- **Total deploys:** 2,002

## Template content

### backend (server)

- **Source:** https://github.com/medusajs/medusa-starter-default
- **Start command:** `medusa migrations run && medusa start`
- **Health check:** /health
- **Public domain:** Yes

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

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

### backend (worker)

- **Source:** https://github.com/medusajs/medusa-starter-default

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

- **Image:** bitnami/redis

## Documentation

> Note: this deploys a Medusa backend with two services supporting [worker mode](https://docs.medusajs.com/development/worker-mode/) which is ideal for a production deployment. For testing, development, or simple use cases, you can use [this template](https://railway.app/template/pwNTJ1?referralCode=TW4Qi0) instead.

Deploy a fully-fledged ecommerce backend and admin dashboard using [Medusa](https://medusajs.com/).

Once the deployment finishes, you can access the admin dashboard at `/app`. Refer to [this documentation](https://docs.medusajs.com/deployments/server/deploying-on-railway#create-admin-user) to learn how to create an admin user.

You can refer to the [Admin](https://docs.medusajs.com/api/admin) and [Store](https://docs.medusajs.com/api/store) API references to learn how to send requests to the Medusa backend.

Please note that this template doesn't use Redis or the production module for events and caching. Refer to the documentation to learn how to set them:

- [Set redis_url in Medusa's configurations](https://docs.medusajs.com/development/backend/configurations#redis_url)
- [Install and use the Redis Event Bus module](https://docs.medusajs.com/development/events/modules/redis)
- [Install and use the Redis Cache module](https://docs.medusajs.com/development/cache/modules/redis)

You can refer to the [Medusa documentation](https://docs.medusajs.com/) for guides related to troubleshooting, development, plugins, and more.

Please consider [giving Medusa a star on GitHub](https://github.com/medusajs/medusa).

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — 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/zC7eOq
