---
title: "Deploy Misskey"
description: "Misskey fediverse microblogging server with Postgres, Redis and a volume"
category: "Blogs"
url: https://railway.com/deploy/misskey-1
---

# Deploy Misskey

Misskey fediverse microblogging server with Postgres, Redis and a volume

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

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

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

## Template content

### 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://devicons.railway.app/i/postgresql.svg

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

### Misskey https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/misskey.png

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

## Documentation

# Deploy and Host Misskey on Railway

Misskey is a free, open-source microblogging server (AGPL-3.0) that federates with Mastodon, Pleroma and the rest of the fediverse over ActivityPub. It adds custom emoji reactions, MFM rich text, a Drive for uploads, antennas, channels, pages and an admin control panel. You run one instance on your own domain.

## About Hosting Misskey

This template deploys three services: Misskey 2026.11.0, built from our GitHub repo on the official `misskey/misskey` image pinned by version and digest; Railway Postgres for accounts, notes and follows; and Railway Redis for the job queue, timelines and streaming. Uploads go to a volume at `/misskey/files`, and both databases keep their data on volumes, so a redeploy or restart loses nothing. On every start the wrapper writes Misskey's config from Railway variables, waits for both databases, runs migrations and starts the server as a non-root user. Railway checks `/healthz`, which only answers 200 when Postgres and Redis are both reachable.

## Common Use Cases

* A personal or small-community fediverse server on your own domain
* A Misskey instance for a club, project or fandom with its own moderation rules and custom emoji
* A staging or test instance before you move an existing Misskey server

## Dependencies for Misskey Hosting

* PostgreSQL (Railway Postgres, included)
* Redis (Railway Redis, included)

### Deployment Dependencies

* Misskey release notes: https://github.com/misskey-dev/misskey/releases/tag/2026.11.0
* Official Docker image: https://hub.docker.com/r/misskey/misskey
* Misskey docs (Docker install): https://misskey-hub.net/en/docs/for-admin/install/guides/docker/
* Template repo: https://github.com/aalfath/misskey-railway-template

### Implementation Details

**First login.** Misskey has no default account. Open the Misskey service's **Variables** tab and copy `SETUP_PASSWORD` (generated at deploy). Open your public URL, choose a username and password for the admin account and enter the setup password when asked. Only the first account can be created this way; registrations are closed until you open them in the Control Panel.

**Choose the domain before you federate.** Misskey's URL can't change once the instance has users and has talked to other servers. `MISSKEY_URL` defaults to `https://${{RAILWAY_PUBLIC_DOMAIN}}`. To use your own domain, add it to the Misskey service in Railway's **Settings → Networking**, set `MISSKEY_URL=https://YOUR-DOMAIN` and redeploy **before** you create the admin account.

**Optional settings** (not template variables): e-mail (SMTP), object storage (S3) and captchas are set in the Control Panel after login. `MISSKEY_CLUSTER_LIMIT` (default `1`) sets the number of worker processes; raise it only if you give the service more memory. Search uses Postgres (`sqlLike`), so no Meilisearch service is needed.

**Updates.** The services build from `aalfath/misskey-railway-template`. When we bump the pinned Misskey version, Railway shows an update notice in your project; read the repo's `CHANGELOG.md`, then apply it. Migrations run automatically on start.

## Why Deploy Misskey 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 Misskey 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

- [Pixelfed](https://railway.com/deploy/OZSdEw) — Explore + Share beautiful photos and videos on the Fediverse
- [Hexo](https://railway.com/deploy/hexo) — Hexo — fast static blog framework with admin editor and S3 media storage
- [Castopod](https://railway.com/deploy/castopod-clone) — Self-hosted podcast hosting with Fediverse support

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