Environment Variables
Continuwuity can be configured entirely through environment variables, making it ideal for containerised deployments and infrastructure-as-code scenarios.
This is a convenience reference and may not be exhaustive. The Configuration Reference is the primary source for all configuration options.
Prefix System
Continuwuity supports three environment variable prefixes for backwards compatibility:
CONTINUWUITY_*(current, recommended)CONDUWUIT_*(compatibility)CONDUIT_*(legacy)
All three prefixes work identically. Use double underscores (__) to represent
nested configuration sections from the TOML config.
Examples:
Configuration File Override
You can specify a custom configuration file path:
CONTINUWUITY_CONFIG- Path to continuwuity.toml (current)CONDUWUIT_CONFIG- Path to config file (compatibility)CONDUIT_CONFIG- Path to config file (legacy)
Essential Variables
These are the minimum variables needed for a working deployment:
Network Configuration
Database Configuration
Cache Configuration
DNS Configuration
Configure DNS resolution behaviour for federation and external requests.
Request Configuration
Federation Configuration
Control how your server federates with other Matrix servers.
Example:
Registration & User Configuration
Control user registration and account creation behaviour.
Example:
Feature Configuration
TLS Configuration
Built-in TLS support is primarily for testing. For production deployments, especially when federating on the internet, use a reverse proxy (Traefik, Caddy, nginx) to handle TLS termination.
Example (testing only):
Logging Configuration
Control log output format and verbosity.
Examples:
Observability Configuration
Admin Configuration
Configure admin users and automated command execution.
Examples:
Media & URL Preview Configuration
Tokio Runtime Configuration
These can be set as environment variables or CLI arguments:
See Also
- Configuration Reference - Complete TOML configuration documentation
- Admin Commands - Admin command reference