summaryrefslogtreecommitdiff
path: root/debian/env
blob: 3f72c5b2a3896e21a2ec656822655d31495ffa9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Conduit homeserver configuration
#
# Conduit is an application based on the Rocket web framework.
# Configuration of Conduit can happen either via a `Rocket.toml` file that
# is placed in /var/lib/matrix-conduit or via setting the environment
# variables below.

# The server (host)name of the Matrix homeserver.
#
# This is the hostname the homeserver will be reachable at via a client.
ROCKET_SERVER_NAME="YOURSERVERNAME.HERE"

# The address the Matrix homeserver listens on.
#
# By default the server listens on 0.0.0.0. Change this for example to
# 127.0.0.1 to only listen on the localhost when using a reverse proxy.
#ROCKET_ADDRESS="0.0.0.0"

# The port of the Matrix homeserver.
#
# This port is often accessed by a reverse proxy.
ROCKET_PORT="14004"

# The maximum size of a Matrix HTTP requests in bytes.
#
# This mostly affects the size of files that can be downloaded/uploaded.
ROCKET_MAX_REQUEST_SIZE=20000000

# Whether user registration is allowed.
#
# User registration is allowed by default.
#ROCKET_REGISTRATION_DISABLED=true

# Whether encryption is enabled.
#
# (End-to-end) encryption is enabled by default.
#ROCKET_ENCRYPTION_DISABLED=true

# Whether federation with other Matrix servers is enabled.
#
# Federation is disabled by default; it is still experimental.
#ROCKET_FEDERATION_ENABLED=true

# The log level of the homeserver.
#
# The log level is "critical" by default.
# Allowed values are: "off", "normal", "debug", "critical"
#ROCKET_LOG="normal"