ansible/templates/homeserver.yaml.j2

93 lines
1.9 KiB
Plaintext
Raw Normal View History

2022-06-14 21:15:18 +00:00
cleanup_extremities_with_dummy_events: truepid_file: "/var/run/matrix-synapse.pid"
public_baseurl: "https://{{ matrix_server_name }}"
allow_public_rooms_over_federation: true
federation_ip_range_blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '169.254.0.0/16'
- '::1/128'
- 'fe80::/64'
- 'fc00::/7'
2022-06-14 20:59:43 +00:00
2019-11-21 16:19:03 +00:00
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
2022-06-14 20:59:43 +00:00
bind_addresses: ['::1', '127.0.0.1']
2019-11-21 16:19:03 +00:00
resources:
2022-06-14 20:59:43 +00:00
- names: [client, federation]
2019-11-21 16:19:03 +00:00
compress: false
2022-06-14 20:59:43 +00:00
retention:
2022-06-14 21:15:18 +00:00
acme:
enabled: false
2022-06-14 20:59:43 +00:00
2022-06-14 21:15:18 +00:00
port: 80
2022-06-14 20:59:43 +00:00
2022-06-14 21:15:18 +00:00
bind_addresses: ['::', '0.0.0.0']
2022-06-14 20:59:43 +00:00
2022-06-14 21:15:18 +00:00
reprovision_threshold: 30
2022-06-14 21:15:18 +00:00
account_key_file: /var/lib/matrix-synapse/acme_account.key
2019-11-21 16:19:03 +00:00
2022-06-14 20:59:43 +00:00
database:
2022-06-14 21:15:18 +00:00
name: psycopg2
args:
user: synapse
password: {{ synapse_postgres_password }}
database: synapse
host: localhost
cp_min: 5
cp_max: 10
2022-06-14 21:15:18 +00:00
log_config: "/etc/matrix-synapse/log.yaml"
2019-11-21 16:19:03 +00:00
2022-06-14 21:15:18 +00:00
media_store_path: "/var/lib/matrix-synapse/media"
max_upload_size: 100M
url_preview_enabled: true
2022-06-14 20:59:43 +00:00
2022-06-14 21:15:18 +00:00
url_preview_ip_range_blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '169.254.0.0/16'
- '::1/128'
- 'fe80::/64'
- 'fc00::/7'
2022-06-14 20:59:43 +00:00
2022-06-14 21:15:18 +00:00
turn_uris: ["turn:matrix.fuz.re:3478?transport=udp", "turn:matrix.fuz.re:3478?transport=tcp"]
2022-06-14 20:59:43 +00:00
2022-06-14 21:15:18 +00:00
turn_shared_secret: "{{ synapse_turn_secret }}"
turn_user_lifetime: 86400000
2022-06-14 21:15:18 +00:00
turn_allow_guests: true
2022-06-14 21:15:18 +00:00
enable_registration: true
2022-06-14 20:59:43 +00:00
2022-06-14 21:15:18 +00:00
trusted_third_party_id_servers:
- matrix.org
- vector.im
2022-06-14 20:59:43 +00:00
2022-06-14 21:15:18 +00:00
signing_key_path: "/etc/matrix-synapse/homeserver.signing.key"
2022-06-14 20:59:43 +00:00
trusted_key_servers:
- server_name: "matrix.org"
2022-06-14 21:15:18 +00:00
suppress_key_server_warning: true
2022-06-14 20:59:43 +00:00
email:
2022-06-14 21:15:18 +00:00
smtp_host: "localhost"
smtp_port: 25 require_transport_security: false
notif_from: "Your Friendly %(app)s homeserver <noreply@fuz.re>"
riot_base_url: "https://riot.fuz.re"