---
title: "Deploy continuwuity"
description: "A community-driven Matrix homeserver"
category: "Other"
url: https://railway.com/deploy/continuwuity
---

# Deploy continuwuity

A community-driven Matrix homeserver

**[Deploy continuwuity on Railway](https://railway.com/template/continuwuity)**

- **Creator:** Bruno Miguens's Projects
- **Category:** Other
- **Total deploys:** 13

## Template content

### continuwuity/continuwuity:latest

- **Image:** ghcr.io/continuwuity/continuwuity:latest
- **Health check:** /_matrix/client/versions
- **Public domain:** Yes

## Documentation

# Deploy and Host continuwuity on Railway

Continuwuity is a lightweight Matrix homeserver written in Rust — the community-driven continuation of conduwuit. It enables decentralized, federated real-time communication over the Matrix protocol, designed to run efficiently on modest hardware. It supports federation, appservice bridges, and per-user identities out of the box.

## About Hosting continuwuity

Hosting continuwuity involves running a single stateful binary (or OCI container) that handles Matrix client and federation APIs. It uses RocksDB as its embedded database — no external database server needed. You configure a server name (your domain), expose port 8448 for federation and 443 for clients (typically via a reverse proxy with TLS), and mount a persistent volume for the RocksDB data directory. The container image is minimal (no shell, just the binary and TLS certificates), making it well-suited for platform deployments. Configuration is done entirely through environment variables or a TOML file.

## Common Use Cases

- **Private team or family chat server** — Run a self-hosted Matrix homeserver for internal communication with full control over data and identity
- **Bot and agent infrastructure** — Register per-user accounts for AI agents, bots, or bridges that need native Matrix identities (no prefix hacks)
- **Federated communication hub** — Join the wider Matrix network, bridge to platforms like Discord or Slack via appservices, and communicate across organizations

## Dependencies for continuwuity Hosting

- **Persistent volume** — RocksDB storage for the database at `/var/lib/continuwuity/`
- **Domain name with TLS** — Required for Matrix federation and client access (Railway provides this automatically)

### Deployment Dependencies

- OCI image: `ghcr.io/continuwuity/continuwuity` (also mirrored to `docker.io/jadedblueeyes/continuwuity`)
- [Continuwuity deployment docs](https://continuwuity.org/deploying)
- [Continuwuity Docker guide](https://continuwuity.org/deploying/docker)
- [Continuwuity configuration reference](https://continuwuity.org/configuration)
- [Matrix federation spec](https://spec.matrix.org/latest/server-server-api/)

### Implementation Details

Key environment variables for deployment:
```
CONTINUWUITY_ALLOW_FEDERATION=false
CONTINUWUITY_SERVER_NAME=your.domain.com
CONTINUWUITY_PORT=6167
CONTINUWUITY_ADDRESS=0.0.0.0
CONTINUWUITY_DATABASE_PATH=/var/lib/continuwuity
CONTINUWUITY_ALLOW_REGISTRATION=true
CONTINUWUITY_REGISTRATION_TOKEN=auto-generated-token
```

The container listens on port `6167` internally and alsready exposed for http connections. Map it to `8448` externally for federation, or let Railway handle TLS termination on port `443`. Healthcheck endpoint: `GET /_matrix/client/versions` (unauthenticated, returns supported spec versions).

## Why Deploy continuwuity 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 continuwuity 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) — 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/continuwuity
