---
title: "Deploy Mealie"
description: "Self-hosted recipe manager and meal planner with shopping lists"
category: "Other"
url: https://railway.com/deploy/mealie-1
---

# Deploy Mealie

Self-hosted recipe manager and meal planner with shopping lists

**[Deploy Mealie on Railway](https://railway.com/template/mealie-1)**

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

- **Creator:** zer0person's Projects
- **Category:** Other
- **Total deploys:** 1

## Template content

### Mealie

- **Image:** ghcr.io/mealie-recipes/mealie:latest
- **Start command:** `sh -c 'f=$(/opt/mealie/bin/python -c "import mealie.core.settings.settings as s; print(s.__file__)") && sed -i "s/\"MyPassword\"/\"$MEALIE_ADMIN_PASSWORD\"/" "$f" && exec /app/run.sh'`
- **Public domain:** Yes

## Documentation

# Deploy and Host Mealie on Railway

[Mealie](https://github.com/mealie-recipes/mealie) is a self-hosted recipe manager and meal planner. Import recipes from any website by URL, organise them with tags and cookbooks, plan meals for the week and build shopping lists.

## About Hosting Mealie

This template runs the official `ghcr.io/mealie-recipes/mealie` image with the built-in SQLite database and a persistent volume at `/app/data`, so recipes, images and settings survive redeploys. No separate database service is needed. Public sign-up is off by default.

Mealie normally ships with a well-known default login. To keep a public deployment safe, this template replaces the default password with a random one at startup. Open the service's Variables tab in Railway and copy `MEALIE_ADMIN_PASSWORD`, then sign in with the email `changeme@example.com` and that password. Change both under your user profile after the first login.

## Common Use Cases

- Keep a private, searchable collection of family recipes
- Import recipes from websites without ads and long life stories
- Plan weekly meals and generate shopping lists for a household

## Dependencies for Mealie Hosting

- One service with a volume; nothing else

### Deployment Dependencies

- [Mealie on GitHub](https://github.com/mealie-recipes/mealie)
- [Container image](https://github.com/mealie-recipes/mealie/pkgs/container/mealie)
- [Mealie documentation](https://docs.mealie.io/)

## Why Deploy Mealie on Railway?

Railway gives you a public HTTPS URL you can open from the kitchen, a persistent volume and automatic restarts with no server to maintain.


## 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/mealie-1
