diff --git a/infra/matrix/conduit/.env.example b/infra/matrix/conduit/.env.example new file mode 100644 index 00000000..c6995bf2 --- /dev/null +++ b/infra/matrix/conduit/.env.example @@ -0,0 +1,31 @@ +# Conduit Matrix Homeserver Configuration +# Copy to .env and fill in values + +# Domain name for your Matrix server (e.g., matrix.timmy.foundation) +DOMAIN=matrix.timmy.foundation + +# Server name (same as DOMAIN in most cases) +CONDUIT_SERVER_NAME=matrix.timmy.foundation + +# Database backend: rocksdb (default) or sqlite +CONDUIT_DATABASE_BACKEND=rocksdb + +# Enable user registration (set to true ONLY during initial admin setup) +CONDUIT_ALLOW_REGISTRATION=false + +# Enable federation with other Matrix servers +CONDUIT_ALLOW_FEDERATION=true + +# Enable metrics endpoint (Prometheus) +CONDUIT_ENABLE_METRICS=false + +# Registration token for creating the first admin account +# MUST be set before starting server - remove/rotate after admin creation +CONDUIT_REGISTRATION_TOKEN=CHANGE_THIS_TO_A_RANDOM_SECRET_ + +# Path to config file (optional, leave empty to use env vars) +CONDUIT_CONFIG= + +# Caddy environment +CADDY_HTTP_PORT=80 +CADDY_HTTPS_PORT=443