2018-07-30 14:56:33 +00:00
|
|
|
---
|
2019-02-14 23:24:21 +00:00
|
|
|
matrix_synapse_extra_config: {}
|
2019-02-16 10:25:57 +00:00
|
|
|
matrix_synapse_deployment_method: pip
|
|
|
|
matrix_synapse_supervision_method: systemd
|
2019-02-21 00:28:43 +00:00
|
|
|
matrix_synapse_base_path: "/opt/synapse"
|
|
|
|
matrix_synapse_secrets_path: "{{ matrix_synapse_base_path }}/secrets"
|
2019-02-21 22:15:38 +00:00
|
|
|
matrix_synapse_dh_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.dh"
|
2021-02-08 05:20:48 +00:00
|
|
|
matrix_synapse_public_baseurl: "https://{{ matrix_server_name }}"
|
2019-02-21 22:15:38 +00:00
|
|
|
matrix_synapse_signing_key_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.signing.key"
|
2020-10-09 15:20:46 +00:00
|
|
|
matrix_synapse_version: "{{ matrix_synapse_unstable | ternary(matrix_synapse_unstable_version, matrix_synapse_stable_version) }}"
|
|
|
|
matrix_synapse_unstable: false
|
2023-04-20 19:17:55 +00:00
|
|
|
matrix_synapse_stable_version: "1.81.0"
|
|
|
|
matrix_synapse_unstable_version: "1.81.0"
|
2019-03-24 15:51:22 +00:00
|
|
|
matrix_synapse_log_dir: "/var/log/matrix_synapse"
|
2020-01-10 00:00:38 +00:00
|
|
|
matrix_synapse_log_days_keep: 14
|
2019-02-21 22:15:38 +00:00
|
|
|
matrix_synapse_pid_file: "{{ matrix_synapse_base_path }}/synapse.pid"
|
2021-01-04 15:14:16 +00:00
|
|
|
matrix_synapse_docker_networks: []
|
|
|
|
matrix_synapse_docker_etc_hosts: {}
|
2019-02-16 10:25:57 +00:00
|
|
|
matrix_synapse_docker_ports: ["8008:8008", "8448:8448"]
|
|
|
|
matrix_synapse_docker_labels: {}
|
2021-03-25 11:52:53 +00:00
|
|
|
matrix_synapse_docker_env: {}
|
2021-02-01 15:25:08 +00:00
|
|
|
matrix_synapse_docker_recreate: false
|
2021-02-22 06:21:28 +00:00
|
|
|
matrix_synapse_docker_pull: true
|
2019-12-09 13:47:21 +00:00
|
|
|
matrix_synapse_extra_docker_volumes: []
|
2021-02-22 06:21:28 +00:00
|
|
|
matrix_synapse_docker_entrypoint: "python"
|
|
|
|
matrix_synapse_docker_command:
|
|
|
|
- "-m"
|
|
|
|
- "synapse.app.homeserver"
|
|
|
|
- "-c"
|
|
|
|
- "{{ matrix_synapse_base_path }}/homeserver.yaml"
|
2020-05-27 16:35:20 +00:00
|
|
|
matrix_synapse_container_name: "synapse"
|
2020-10-02 07:49:51 +00:00
|
|
|
|
2023-03-09 14:54:40 +00:00
|
|
|
matrix_synapse_container_image_reference: >-
|
|
|
|
{{
|
|
|
|
matrix_synapse_container_image_repository
|
|
|
|
+ ':'
|
|
|
|
+ matrix_synapse_container_image_tag | default('v' + matrix_synapse_version)
|
|
|
|
}}
|
|
|
|
matrix_synapse_container_image_repository: >-
|
|
|
|
{{
|
|
|
|
(
|
|
|
|
container_registries[matrix_synapse_container_image_registry]
|
|
|
|
| default(matrix_synapse_container_image_registry)
|
|
|
|
)
|
|
|
|
+ '/'
|
|
|
|
+ matrix_synapse_container_image_namespace | default('')
|
|
|
|
+ matrix_synapse_container_image_name
|
|
|
|
}}
|
|
|
|
matrix_synapse_container_image_registry: "docker.io"
|
|
|
|
matrix_synapse_container_image_namespace: "matrixdotorg/"
|
|
|
|
matrix_synapse_container_image_name: "synapse"
|
|
|
|
|
2020-10-02 07:49:51 +00:00
|
|
|
# Redis config
|
|
|
|
matrix_synapse_redis_enabled: false
|
|
|
|
matrix_synapse_redis_host: ~
|
|
|
|
matrix_synapse_redis_port: 6379
|
|
|
|
matrix_synapse_redis_pass: ~
|
|
|
|
|
2021-09-10 08:19:57 +00:00
|
|
|
# Monitoring
|
|
|
|
matrix_synapse_metrics_enabled: false
|
|
|
|
matrix_synapse_worker_metrics_enabled: "{{ matrix_synapse_metrics_enabled | bool }}"
|
|
|
|
matrix_synapse_worker_metrics_port: 9101
|
2020-10-02 07:49:51 +00:00
|
|
|
|
|
|
|
# Worker control config
|
|
|
|
matrix_synapse_workers_enabled: false
|
|
|
|
matrix_synapse_worker_replication_host: "{{ matrix_synapse_container_name }}"
|
|
|
|
matrix_synapse_worker_replication_port: 9003
|
|
|
|
matrix_synapse_worker_replication_bind_ip: "127.0.0.1"
|
|
|
|
matrix_synapse_worker_listener_base_port: 16000
|
|
|
|
matrix_synapse_worker_listener_bind_base_ip: "0.0.0.0"
|
|
|
|
matrix_synapse_worker_labels: {}
|
|
|
|
|
|
|
|
# Control which workers (or how many) to run
|
|
|
|
matrix_synapse_workers_client: 0
|
|
|
|
matrix_synapse_workers_federation_in: 0
|
|
|
|
matrix_synapse_workers_federation_out: 0
|
|
|
|
matrix_synapse_workers_media: 0
|
|
|
|
matrix_synapse_worker_push: false
|
|
|
|
matrix_synapse_worker_appservice: false
|
|
|
|
matrix_synapse_worker_user_search: false
|
|
|
|
|
|
|
|
# Control where which paths get routed
|
|
|
|
matrix_synapse_worker_client_endpoints: >-
|
|
|
|
{{
|
|
|
|
matrix_synapse_worker_client_sync_endpoints
|
|
|
|
+ matrix_synapse_worker_client_api_endpoints
|
2022-04-22 09:42:47 +00:00
|
|
|
+ matrix_synapse_worker_client_encryption_endpoints
|
2020-10-02 07:49:51 +00:00
|
|
|
+ matrix_synapse_worker_client_login_endpoints
|
2022-04-22 09:42:47 +00:00
|
|
|
+ matrix_synapse_worker_client_send_endpoints
|
|
|
|
+ matrix_synapse_worker_client_device_endpoints
|
|
|
|
+ matrix_synapse_worker_client_account_data_endpoints
|
|
|
|
+ matrix_synapse_worker_client_receipts_endpoints
|
|
|
|
+ matrix_synapse_worker_client_presence_endpoints
|
2020-10-02 07:49:51 +00:00
|
|
|
}}
|
|
|
|
|
2021-09-22 10:08:03 +00:00
|
|
|
# Certificate management
|
|
|
|
matrix_synapse_container_certificate_refresh: false
|
|
|
|
matrix_synapse_container_certificate_refresh_command: "update-ca-certificates --fresh"
|
|
|
|
matrix_synapse_container_certificate_refresh_user_id: 0
|