Skip to main content

Conduit

Conduit is a Matrix homeserver written in Rust. It runs as a single binary with an embedded database, so it suits small servers for a family, friends or a small team. It is developed on GitLab under famedly/conduit; the documentation is at famedly.gitlab.io/conduit.

As of 2026-10-18 the latest release is v0.10.15 (2026-09-30). Its README describes Conduit as beta: you can join most rooms, but some features are missing, such as outgoing read receipts, typing notifications and presence over federation.

Conduit v0.10.15
DatabaseRocksDB (recommended) or SQLite, embedded. No PostgreSQL
Default room version12 (default_room_version); room versions 1 and 2 are not supported, 3 to 5 only partially (FAQ)
Sliding syncSimplified Sliding Sync works out of the box, so Element X can connect
AuthenticationPassword and registration token. No SSO, OIDC or MAS
Migration from SynapseNot supported (FAQ)
MetricsNo Prometheus endpoint; tracing options only

Run Conduit with Docker​

Images are published as registry.gitlab.com/famedly/conduit/matrix-conduit (upstream's recommendation) and matrixconduit/matrix-conduit on Docker Hub. This Compose file follows upstream's docker-compose.yml. It configures Conduit entirely through CONDUIT_* environment variables, which is why CONDUIT_CONFIG is set to an empty string:

docker-compose.yml
services:
homeserver:
image: matrixconduit/matrix-conduit:v0.10.15
restart: unless-stopped
ports:
- "127.0.0.1:6167:6167" # only the local reverse proxy can reach it
volumes:
- db:/var/lib/matrix-conduit/
env_file: ./conduit.env # contains CONDUIT_REGISTRATION_TOKEN=<long random string>
environment:
CONDUIT_SERVER_NAME: example.com
CONDUIT_DATABASE_PATH: /var/lib/matrix-conduit/
CONDUIT_DATABASE_BACKEND: rocksdb
CONDUIT_PORT: 6167
CONDUIT_ADDRESS: 0.0.0.0 # inside the container; the host port is bound to 127.0.0.1
CONDUIT_MAX_REQUEST_SIZE: 20000000
CONDUIT_ALLOW_REGISTRATION: 'true'
CONDUIT_ALLOW_FEDERATION: 'true'
CONDUIT_TRUSTED_SERVERS: '["matrix.org"]'
CONDUIT_CONFIG: '' # no config file; use the variables above

volumes:
db:

Two settings matter here:

  • CONDUIT_CONFIG. Without it, Conduit exits with an error. Either point it at a TOML file or set it to '' to use environment variables only.
  • CONDUIT_ADDRESS. The default is 127.0.0.1. Inside a container that makes Conduit unreachable through the published port, so set it to 0.0.0.0 and restrict access on the host side instead.

Configuration file​

If you prefer a file, set CONDUIT_CONFIG=/path/to/conduit.toml. These keys come from conduit-example.toml at v0.10.15:

conduit.toml
[global]
server_name = "example.com" # permanent: the domain in user IDs

database_backend = "rocksdb"
database_path = "/var/lib/matrix-conduit/"

address = "127.0.0.1" # use "0.0.0.0" in a container
port = 6167

max_request_size = 20_000_000 # bytes

allow_registration = true
registration_token = "CHANGE_ME_LONG_RANDOM_STRING"

allow_federation = true
trusted_servers = ["matrix.org"]

#max_concurrent_requests = 100 # outbound requests to other servers at once

[global.well_known]
#server = "matrix.example.com:443"
#client = "https://matrix.example.com"
warning

allow_registration = true with an empty registration_token lets anyone create accounts. Always set a token, or turn registration off after creating your accounts. The admin command allow-registration toggles registration until the next restart.

Notes on other keys:

  • Cache size is controlled by db_cache_capacity_mb and conduit_cache_capacity_modifier. Conduit silently ignores unknown keys, so a misspelt option has no effect and no error.
  • By default, Conduit serves the /.well-known/matrix/* files itself, pointing clients and servers at server_name on port 443. Use [global.well_known] to point them at a subdomain.
  • Since v0.10.12, ignored_keys blocks by default the weak signing key generated by vulnerable ESS Community charts (CVE-2026-24044).

Binaries​

There are no files attached to GitLab releases. Upstream publishes static builds as CI artifacts. For example, the x86_64 musl build of the master branch:

https://gitlab.com/api/v4/projects/famedly%2Fconduit/jobs/artifacts/master/raw/x86_64-unknown-linux-musl?job=artifacts

The generic deployment guide lists the other architectures, Debian packages, and a systemd unit that sets CONDUIT_CONFIG.

Reverse proxy​

Proxy /_matrix on 443 to port 6167. Conduit answers /.well-known/matrix/* itself when requests for server_name reach it. Otherwise serve those files from your web server (see Well-known delegation).

First user and admin room​

The first account registered on a new server becomes an admin. Conduit creates an admin room, #admins:example.com, and commands are sent there as messages to the server's bot user:

@conduit:example.com: list-local-users
@conduit:example.com: create-user alice
@conduit:example.com: deactivate-user @alice:example.com
@conduit:example.com: list-rooms
@conduit:example.com: memory-usage
@conduit:example.com: allow-registration false

Send @conduit:example.com: --help for the full list. To make someone else an admin, invite them to the admin room. Commands such as !admin users ... belong to the forks below, not to Conduit.

Clients register through the standard client-server API (POST /_matrix/client/v3/register), using the registration token flow when registration_token is set. Use a client that supports registration tokens; Conduit's README names Element Web, Nheko and SchildiChat Web.

Backup​

Stop Conduit, copy the database_path directory (it also holds media), then start Conduit again. A filesystem snapshot also works.

Forks: continuwuity and tuwunel​

Status as of 2026-10-18.

conduwuit was a popular Conduit fork. Its repository is now archived, and its last pre-release was v0.5.0-rc4 (2025-04-09). Two projects continue it:

tuwunelcontinuwuity
Describes itself as"the official successor to conduwuit""the official community continuation of the conduwuit homeserver"
Latest releasev1.9.4 (2026-10-10)v26.9.1 (2026-09-28)
SourceGitHub matrix-construct/tuwunelForgejo forgejo.ellis.link/continuwuation/continuwuity (GitHub mirror continuwuity/continuwuity)
Imagesghcr.io/matrix-construct/tuwunel, jevolk/tuwunelsee continuwuity.org
Migrate from conduwuitYes, in placeYes
Migrate from ConduitYes, RocksDB in place on first bootNo ("database is now incompatible")
Docsmatrix-construct.github.io/tuwunelcontinuwuity.org

Both forks default to room version 12, support Simplified Sliding Sync, and have added OIDC login options. Their config keys and admin commands differ from Conduit's (they use !admin ... commands in the admin room), so follow each project's own example config rather than the Conduit keys above.

Back up your database before switching implementations. Switching between forks other than the documented paths can corrupt it.

The matrix-docker-ansible-deploy playbook supports conduit, continuwuity and tuwunel as homeserver implementations.

Resources​


Next: Server comparison →