computer-playbook/roles/docker-matrix/templates/homeserver.yaml.j2

46 lines
1.7 KiB
Plaintext
Raw Normal View History

2023-12-19 14:07:05 +01:00
server_name: "{{domain_matrix_synapse}}"
2023-12-12 22:36:35 +01:00
pid_file: /data/homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
database:
2023-12-19 10:00:16 +01:00
name: psycopg2
2023-12-12 22:36:35 +01:00
args:
user: matrix
password: {{matrix_database_password}}
database: matrix
host: database
cp_min: 5
cp_max: 10
2023-12-19 14:07:05 +01:00
log_config: "/data/{{domain_matrix_synapse}}.log.config"
2023-12-12 22:36:35 +01:00
media_store_path: /data/media_store
registration_shared_secret: "{{matrix_registration_shared_secret}}"
report_stats: true
macaroon_secret_key: "{{matrix_macaroon_secret_key}}"
form_secret: "{{matrix_form_secret}}"
2023-12-19 14:07:05 +01:00
signing_key_path: "/data/{{domain_matrix_synapse}}.signing.key"
2023-12-19 14:46:12 +01:00
web_client_location: "https://{{element_domain}}"
public_baseurl: "https://{{synapse_domain}}"
2023-12-12 22:36:35 +01:00
trusted_key_servers:
- server_name: "matrix.org"
2023-12-19 16:03:19 +01:00
admin_contact: 'mailto:{{administrator_email}}'
email:
smtp_host: "{{system_email_host}}"
smtp_port: "{{system_email_smtp_port}}"
smtp_user: "{{system_email_username}}"
smtp_pass: "{{system_email_password}}"
#force_tls: true
#require_transport_security: true
enable_tls: "{{ system_email_tls | upper }}"
notif_from: "Your Friendly %(app)s homeserver <{{system_email}}>"
app_name: "Matrix on {{top_domain}}"
enable_notifs: true
notif_for_new_users: false
client_base_url: "{{domain_matrix_synapse}}"
validation_token_lifetime: 15m