Deploy Misskey

Misskey fediverse microblogging server with Postgres, Redis and a volume

Deploy Misskey

Just deployed

/data

/var/lib/postgresql/data

/misskey/files

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

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.


Template Content

More templates in this category

View Template
Pixelfed
Explore + Share beautiful photos and videos on the Fediverse

Evan Boehs
30
View Template
Hexo
Hexo — fast static blog framework with admin editor and S3 media storage

INAPP
2
View Template
Castopod
Self-hosted podcast hosting with Fediverse support

INAPP
1