38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
synapse_install_dir: "/opt/synapse"
|
|
|
|
# The domain that users should be identified with, can be different than the server domain
|
|
synapse_domain: matrix.example.com
|
|
# The actual synapse domain
|
|
synapse_server_domain: matrix.example.com
|
|
|
|
synapse_containerimage: ghcr.io/element-hq/synapse
|
|
# renovate: depName=ghcr.io/element-hq/synapse
|
|
synapse_image_tag: "v1.122.0"
|
|
|
|
synapse_postgres_containerimage: docker.io/library/postgres
|
|
# renovate: depName=docker.io/library/postgres
|
|
synapse_postgres_image_tag: "17.2-alpine"
|
|
|
|
synapse_selinux_level: "{{ omit }}"
|
|
synapse_postgres_selinux_level: "{{ omit }}"
|
|
|
|
synapse_memory_low: 512m
|
|
synapse_memory_high: 0
|
|
synapse_swap_max: -1
|
|
|
|
synapse_postgres_memory_low: 128m
|
|
synapse_postgres_memory_high: 0
|
|
synapse_postgres_swap_max: -1
|
|
|
|
synapse_postgres_database_password: "{{ lookup('passwordstore', 'synapse.example.com/postgres/synapse_password' + ' create=true length=64') }}"
|
|
|
|
# These are only needed for the inital run to setup the synapse database and user. On subsequent runs you can remove these.
|
|
synapse_postgres_environment_vars:
|
|
POSTGRES_DB: "synapse"
|
|
POSTGRES_USER: "synapse"
|
|
POSTGRES_PASSWORD: "{{ synapse_postgres_database_password }}"
|
|
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"
|
|
|
|
synapse_environment_vars:
|
|
SERVER_NAME: "{{ synapse_domain }}" # This can be different e.g. example.com with delegation
|
|
REPORT_STATS: 'no'
|