---
title: "Deploy Zulip"
description: "Threaded team chat with Postgres, RabbitMQ, Redis and Memcached"
category: "Other"
url: https://railway.com/deploy/zulip-1
---

# Deploy Zulip

Threaded team chat with Postgres, RabbitMQ, Redis and Memcached

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

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

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### Memcached

- **Source:** https://github.com/aalfath/zulip-railway-template

### RabbitMQ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/rabbitmq.png

- **Source:** https://github.com/aalfath/zulip-railway-template

### Zulip https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/zulip.png

- **Source:** https://github.com/aalfath/zulip-railway-template
- **Health check:** /health
- **Public domain:** Yes

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Postgres https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/postgresql.png

- **Source:** https://github.com/aalfath/zulip-railway-template

## Documentation

# Deploy and Host Zulip on Railway

Zulip is an open-source team chat app (Apache-2.0) where every conversation has a topic, so busy channels stay readable and people can catch up without scrolling. It has web, desktop and mobile apps, threads, search, file uploads, integrations and a full REST API. It is an open alternative to Slack.

## About Hosting Zulip

Zulip needs five pieces: the Zulip server (Django, Tornado for real-time events, nginx and queue workers), PostgreSQL, RabbitMQ, Redis and Memcached. This template runs Zulip Server 13.2 with all five as separate Railway services on the private network, each password generated at deploy time and every piece of state on a volume. Railway provides HTTPS on a public domain. On the first boot Zulip runs its database migrations and creates an organization named "Zulip" with you as owner, which takes about four minutes. You only enter your email. Then read the generated `ZULIP_ADMIN_PASSWORD` in the Zulip service's Variables tab and log in.

## Common Use Cases

* Team and company chat where each discussion keeps its own topic
* Open-source and community chat with public channels and guest access
* Self-hosted Slack replacement that keeps message history and files on your own infrastructure

## Dependencies for Zulip Hosting

* PostgreSQL 14 with PGroonga and hunspell dictionaries (Zulip's `zulip-postgresql` image), for data and full-text search
* RabbitMQ (queue), Redis (rate limits) and Memcached (cache)

### Deployment Dependencies

* Zulip Server 13.2: [release notes](https://zulip.readthedocs.io/en/stable/overview/changelog.html), image `ghcr.io/zulip/zulip-server:13.2-0` from [docker-zulip](https://github.com/zulip/docker-zulip)
* Docker image docs: [zulip.readthedocs.io/projects/docker](https://zulip.readthedocs.io/projects/docker/en/latest/)
* Template source: [aalfath/zulip-railway-template](https://github.com/aalfath/zulip-railway-template)

### Implementation Details

Services: **Zulip** (public, port 80, health check `/health`, volume `/data` for uploads and the secrets file), **Postgres** (volume `/var/lib/postgresql/data`), **RabbitMQ** (volume `/var/lib/rabbitmq`), **Redis** (Railway's Redis, with a volume) and **Memcached** (SASL password, cache only).

After deploy:

1. Wait until the Zulip service is healthy (the first boot runs migrations).
2. Open `https://YOUR-DOMAIN/` and log in with `ZULIP_ADMIN_EMAIL` and `ZULIP_ADMIN_PASSWORD` (Zulip service, Variables tab). Change the password under Settings.
3. Optional: add outgoing email so Zulip can send invitations and password resets (`SETTING_EMAIL_HOST`, `SETTING_EMAIL_HOST_USER`, `SETTING_EMAIL_PORT`, `SETTING_EMAIL_USE_TLS`, `SETTING_NOREPLY_EMAIL_ADDRESS`, `SECRETS_email_password` on the Zulip service). To use your own domain, add it in Railway and set `SETTING_EXTERNAL_HOST` to it.

Updates: every service builds from the template's GitHub repo with images pinned by version and digest. When a new Zulip release is merged there, Railway shows you an "update available" notice. Read the repo's `CHANGELOG.md`, then apply it, and Zulip runs its migrations on the next boot.

## Why Deploy Zulip 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 Zulip 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) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

Open this page in a browser: https://railway.com/deploy/zulip-1
