|
|
|
@ -128,12 +128,12 @@ presence:
|
|
|
|
|
# public rooms directory through the client API, meaning that anyone can |
|
|
|
|
# query the room directory. Defaults to 'false'. |
|
|
|
|
# |
|
|
|
|
#allow_public_rooms_without_auth: true |
|
|
|
|
allow_public_rooms_without_auth: false |
|
|
|
|
|
|
|
|
|
# If set to 'true', allows any other homeserver to fetch the server's public |
|
|
|
|
# rooms directory via federation. Defaults to 'false'. |
|
|
|
|
# |
|
|
|
|
#allow_public_rooms_over_federation: true |
|
|
|
|
allow_public_rooms_over_federation: false |
|
|
|
|
|
|
|
|
|
# The default room version for newly created rooms. |
|
|
|
|
# |
|
|
|
@ -468,13 +468,13 @@ limit_remote_rooms:
|
|
|
|
|
# |
|
|
|
|
# Defaults to `7d`. Set to `null` to disable. |
|
|
|
|
# |
|
|
|
|
#redaction_retention_period: 28d |
|
|
|
|
redaction_retention_period: {{ env "REDACTION_RETENTION_PERIOD" }} |
|
|
|
|
|
|
|
|
|
# How long to track users' last seen time and IPs in the database. |
|
|
|
|
# |
|
|
|
|
# Defaults to `28d`. Set to `null` to disable clearing out of old rows. |
|
|
|
|
# |
|
|
|
|
#user_ips_max_age: 14d |
|
|
|
|
user_ips_max_age: {{ env "USER_IPS_MAX_AGE" }} |
|
|
|
|
|
|
|
|
|
# Inhibits the /requestToken endpoints from returning an error that might leak |
|
|
|
|
# information about whether an e-mail address is in use or not on this |
|
|
|
@ -533,15 +533,15 @@ retention:
|
|
|
|
|
# The message retention policies feature is disabled by default. Uncomment the |
|
|
|
|
# following line to enable it. |
|
|
|
|
# |
|
|
|
|
#enabled: true |
|
|
|
|
enabled: true |
|
|
|
|
|
|
|
|
|
# Default retention policy. If set, Synapse will apply it to rooms that lack the |
|
|
|
|
# 'm.room.retention' state event. Currently, the value of 'min_lifetime' doesn't |
|
|
|
|
# matter much because Synapse doesn't take it into account yet. |
|
|
|
|
# |
|
|
|
|
#default_policy: |
|
|
|
|
# min_lifetime: 1d |
|
|
|
|
# max_lifetime: 1y |
|
|
|
|
default_policy: |
|
|
|
|
min_lifetime: 1d |
|
|
|
|
max_lifetime: {{ env "RETENTION_MAX_LIFETIME" }} |
|
|
|
|
|
|
|
|
|
# Retention policy limits. If set, and the state of a room contains a |
|
|
|
|
# 'm.room.retention' event in its state which contains a 'min_lifetime' or a |
|
|
|
@ -581,11 +581,11 @@ retention:
|
|
|
|
|
# Synapse's database (which is done using the range specified in a purge job's |
|
|
|
|
# configuration). |
|
|
|
|
# |
|
|
|
|
#purge_jobs: |
|
|
|
|
# - longest_max_lifetime: 3d |
|
|
|
|
# interval: 12h |
|
|
|
|
# - shortest_max_lifetime: 3d |
|
|
|
|
# interval: 1d |
|
|
|
|
purge_jobs: |
|
|
|
|
- longest_max_lifetime: 3d |
|
|
|
|
interval: 12h |
|
|
|
|
- shortest_max_lifetime: 3d |
|
|
|
|
interval: 1d |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## TLS ## |
|
|
|
@ -662,6 +662,8 @@ retention:
|
|
|
|
|
# - syd.example.com |
|
|
|
|
{{ if eq (env "DISABLE_FEDERATION") "1" }} |
|
|
|
|
federation_domain_whitelist: [] |
|
|
|
|
{{ else if eq (env "ENABLE_ALLOWLIST") "1" }} |
|
|
|
|
federation_domain_whitelist: {{ env "FEDERATION_ALLOWLIST" }} |
|
|
|
|
{{ end }} |
|
|
|
|
|
|
|
|
|
# Report prometheus metrics on the age of PDUs being sent to and received from |
|
|
|
@ -1204,7 +1206,7 @@ turn_allow_guests: {{ env "TURN_ALLOW_GUESTS" }}
|
|
|
|
|
|
|
|
|
|
# Enable 3PIDs lookup requests to identity servers from this server. |
|
|
|
|
# |
|
|
|
|
#enable_3pid_lookup: true |
|
|
|
|
enable_3pid_lookup: {{ env "ENABLE_3PID_LOOKUP" }} |
|
|
|
|
|
|
|
|
|
# Require users to submit a token during registration. |
|
|
|
|
# Tokens can be managed using the admin API: |
|
|
|
|