mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 12:47:39 +01:00
Merge branch 'master' into separate-bridge-roles
This commit is contained in:
commit
13c4e7e5b6
@ -8,7 +8,7 @@ If you decide that you'd like to let this playbook install it for you, you need
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
matrix_synapse_ext_password_provider_rest_auth_enabled: true
|
matrix_synapse_ext_password_provider_rest_auth_enabled: true
|
||||||
matrix_synapse_ext_password_provider_rest_auth_endpoint: "http://change.me.example.com:12345"
|
matrix_synapse_ext_password_provider_rest_auth_endpoint: "http://matrix-mxisd:8090"
|
||||||
matrix_synapse_ext_password_provider_rest_auth_registration_enforce_lowercase: false
|
matrix_synapse_ext_password_provider_rest_auth_registration_enforce_lowercase: false
|
||||||
matrix_synapse_ext_password_provider_rest_auth_registration_profile_name_autofill: true
|
matrix_synapse_ext_password_provider_rest_auth_registration_profile_name_autofill: true
|
||||||
matrix_synapse_ext_password_provider_rest_auth_login_profile_name_autofill: false
|
matrix_synapse_ext_password_provider_rest_auth_login_profile_name_autofill: false
|
||||||
|
@ -33,6 +33,7 @@ ExecStop=-/usr/bin/docker kill matrix-appservice-irc
|
|||||||
ExecStop=-/usr/bin/docker rm matrix-appservice-irc
|
ExecStop=-/usr/bin/docker rm matrix-appservice-irc
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-appservice-irc
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -37,6 +37,7 @@ ExecStop=-/usr/bin/docker kill matrix-mautrix-facebook
|
|||||||
ExecStop=-/usr/bin/docker rm matrix-mautrix-facebook
|
ExecStop=-/usr/bin/docker rm matrix-mautrix-facebook
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-mautrix-facebook
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -40,6 +40,7 @@ ExecStop=-/usr/bin/docker kill matrix-mautrix-telegram
|
|||||||
ExecStop=-/usr/bin/docker rm matrix-mautrix-telegram
|
ExecStop=-/usr/bin/docker rm matrix-mautrix-telegram
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-mautrix-telegram
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -31,6 +31,7 @@ ExecStop=-/usr/bin/docker kill matrix-mautrix-whatsapp
|
|||||||
ExecStop=-/usr/bin/docker rm matrix-mautrix-whatsapp
|
ExecStop=-/usr/bin/docker rm matrix-mautrix-whatsapp
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-mautrix-whatsapp
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -10,6 +10,7 @@ After={{ service }}
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStartPre=-/usr/bin/docker kill matrix-corporal
|
ExecStartPre=-/usr/bin/docker kill matrix-corporal
|
||||||
ExecStartPre=-/usr/bin/docker rm matrix-corporal
|
ExecStartPre=-/usr/bin/docker rm matrix-corporal
|
||||||
|
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-corporal \
|
ExecStart=/usr/bin/docker run --rm --name matrix-corporal \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
@ -28,10 +29,12 @@ ExecStart=/usr/bin/docker run --rm --name matrix-corporal \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_corporal_docker_image }} \
|
{{ matrix_corporal_docker_image }} \
|
||||||
/matrix-corporal -config=/etc/matrix-corporal/config.json
|
/matrix-corporal -config=/etc/matrix-corporal/config.json
|
||||||
|
|
||||||
ExecStop=-/usr/bin/docker kill matrix-corporal
|
ExecStop=-/usr/bin/docker kill matrix-corporal
|
||||||
ExecStop=-/usr/bin/docker rm matrix-corporal
|
ExecStop=-/usr/bin/docker rm matrix-corporal
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-corporal
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -43,6 +43,7 @@ ExecReload=/usr/bin/docker exec matrix-coturn kill -USR2 1
|
|||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-coturn
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -8,6 +8,7 @@ Requires=docker.service
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStartPre=-/usr/bin/docker kill matrix-dimension
|
ExecStartPre=-/usr/bin/docker kill matrix-dimension
|
||||||
ExecStartPre=-/usr/bin/docker rm matrix-dimension
|
ExecStartPre=-/usr/bin/docker rm matrix-dimension
|
||||||
|
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-dimension \
|
ExecStart=/usr/bin/docker run --rm --name matrix-dimension \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_dimension_user_uid }}:{{ matrix_dimension_user_gid }} \
|
--user={{ matrix_dimension_user_uid }}:{{ matrix_dimension_user_gid }} \
|
||||||
@ -24,10 +25,12 @@ ExecStart=/usr/bin/docker run --rm --name matrix-dimension \
|
|||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_dimension_docker_image }}
|
{{ matrix_dimension_docker_image }}
|
||||||
|
|
||||||
ExecStop=-/usr/bin/docker kill matrix-dimension
|
ExecStop=-/usr/bin/docker kill matrix-dimension
|
||||||
ExecStop=-/usr/bin/docker rm matrix-dimension
|
ExecStop=-/usr/bin/docker rm matrix-dimension
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-dimension
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -8,6 +8,7 @@ Requires=docker.service
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStartPre=-/usr/bin/docker kill matrix-mailer
|
ExecStartPre=-/usr/bin/docker kill matrix-mailer
|
||||||
ExecStartPre=-/usr/bin/docker rm matrix-mailer
|
ExecStartPre=-/usr/bin/docker rm matrix-mailer
|
||||||
|
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-mailer \
|
ExecStart=/usr/bin/docker run --rm --name matrix-mailer \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_mailer_container_user_uid }}:{{ matrix_mailer_container_user_gid }} \
|
--user={{ matrix_mailer_container_user_uid }}:{{ matrix_mailer_container_user_gid }} \
|
||||||
@ -21,10 +22,12 @@ ExecStart=/usr/bin/docker run --rm --name matrix-mailer \
|
|||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_mailer_docker_image }}
|
{{ matrix_mailer_docker_image }}
|
||||||
|
|
||||||
ExecStop=-/usr/bin/docker kill matrix-mailer
|
ExecStop=-/usr/bin/docker kill matrix-mailer
|
||||||
ExecStop=-/usr/bin/docker rm matrix-mailer
|
ExecStop=-/usr/bin/docker rm matrix-mailer
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-mailer
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -152,7 +152,7 @@ matrix_mxisd_configuration_extension_yaml: |
|
|||||||
# host: ldapHostnameOrIp
|
# host: ldapHostnameOrIp
|
||||||
# tls: false
|
# tls: false
|
||||||
# port: 389
|
# port: 389
|
||||||
# baseDns: ['OU=Users,DC=example,DC=org']
|
# baseDNs: ['OU=Users,DC=example,DC=org']
|
||||||
# bindDn: CN=My Mxisd User,OU=Users,DC=example,DC=org
|
# bindDn: CN=My Mxisd User,OU=Users,DC=example,DC=org
|
||||||
# bindPassword: TheUserPassword
|
# bindPassword: TheUserPassword
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ ExecStop=-/usr/bin/docker kill matrix-mxisd
|
|||||||
ExecStop=-/usr/bin/docker rm matrix-mxisd
|
ExecStop=-/usr/bin/docker rm matrix-mxisd
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-mxisd
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -44,6 +44,7 @@ ExecStop=-/usr/bin/docker rm matrix-nginx-proxy
|
|||||||
ExecReload=/usr/bin/docker exec matrix-nginx-proxy /usr/sbin/nginx -s reload
|
ExecReload=/usr/bin/docker exec matrix-nginx-proxy /usr/sbin/nginx -s reload
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-nginx-proxy
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -8,6 +8,7 @@ Requires=docker.service
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStartPre=-/usr/bin/docker stop matrix-postgres
|
ExecStartPre=-/usr/bin/docker stop matrix-postgres
|
||||||
ExecStartPre=-/usr/bin/docker rm matrix-postgres
|
ExecStartPre=-/usr/bin/docker rm matrix-postgres
|
||||||
|
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-postgres \
|
ExecStart=/usr/bin/docker run --rm --name matrix-postgres \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
@ -23,10 +24,12 @@ ExecStart=/usr/bin/docker run --rm --name matrix-postgres \
|
|||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_postgres_docker_image_to_use }}
|
{{ matrix_postgres_docker_image_to_use }}
|
||||||
|
|
||||||
ExecStop=-/usr/bin/docker stop matrix-postgres
|
ExecStop=-/usr/bin/docker stop matrix-postgres
|
||||||
ExecStop=-/usr/bin/docker rm matrix-postgres
|
ExecStop=-/usr/bin/docker rm matrix-postgres
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-postgres
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
matrix_riot_web_enabled: true
|
matrix_riot_web_enabled: true
|
||||||
|
|
||||||
matrix_riot_web_docker_image: "bubuntux/riot-web:v1.1.0"
|
matrix_riot_web_docker_image: "bubuntux/riot-web:v1.1.2"
|
||||||
|
|
||||||
matrix_riot_web_data_path: "{{ matrix_base_data_path }}/riot-web"
|
matrix_riot_web_data_path: "{{ matrix_base_data_path }}/riot-web"
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ After={{ service }}
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStartPre=-/usr/bin/docker kill matrix-riot-web
|
ExecStartPre=-/usr/bin/docker kill matrix-riot-web
|
||||||
ExecStartPre=-/usr/bin/docker rm matrix-riot-web
|
ExecStartPre=-/usr/bin/docker rm matrix-riot-web
|
||||||
|
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-riot-web \
|
ExecStart=/usr/bin/docker run --rm --name matrix-riot-web \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
@ -31,10 +32,12 @@ ExecStart=/usr/bin/docker run --rm --name matrix-riot-web \
|
|||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_riot_web_docker_image }}
|
{{ matrix_riot_web_docker_image }}
|
||||||
|
|
||||||
ExecStop=-/usr/bin/docker kill matrix-riot-web
|
ExecStop=-/usr/bin/docker kill matrix-riot-web
|
||||||
ExecStop=-/usr/bin/docker rm matrix-riot-web
|
ExecStop=-/usr/bin/docker rm matrix-riot-web
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-riot-web
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
matrix_synapse_enabled: true
|
matrix_synapse_enabled: true
|
||||||
|
|
||||||
matrix_synapse_docker_image: "matrixdotorg/synapse:v0.99.3.2"
|
matrix_synapse_docker_image: "matrixdotorg/synapse:v0.99.4"
|
||||||
|
|
||||||
matrix_synapse_base_path: "{{ matrix_base_data_path }}/synapse"
|
matrix_synapse_base_path: "{{ matrix_base_data_path }}/synapse"
|
||||||
matrix_synapse_config_dir_path: "{{ matrix_synapse_base_path }}/config"
|
matrix_synapse_config_dir_path: "{{ matrix_synapse_base_path }}/config"
|
||||||
|
@ -10,6 +10,7 @@ After=matrix-synapse.service
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStartPre=-/usr/bin/docker kill matrix-appservice-discord
|
ExecStartPre=-/usr/bin/docker kill matrix-appservice-discord
|
||||||
ExecStartPre=-/usr/bin/docker rm matrix-appservice-discord
|
ExecStartPre=-/usr/bin/docker rm matrix-appservice-discord
|
||||||
|
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-appservice-discord \
|
ExecStart=/usr/bin/docker run --rm --name matrix-appservice-discord \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
@ -21,11 +22,11 @@ ExecStart=/usr/bin/docker run --rm --name matrix-appservice-discord \
|
|||||||
-v {{ matrix_appservice_discord_base_path }}:/data \
|
-v {{ matrix_appservice_discord_base_path }}:/data \
|
||||||
{{ matrix_appservice_discord_docker_image }}
|
{{ matrix_appservice_discord_docker_image }}
|
||||||
|
|
||||||
|
|
||||||
ExecStop=-/usr/bin/docker kill matrix-appservice-discord
|
ExecStop=-/usr/bin/docker kill matrix-appservice-discord
|
||||||
ExecStop=-/usr/bin/docker rm matrix-appservice-discord
|
ExecStop=-/usr/bin/docker rm matrix-appservice-discord
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-appservice-discord
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -8,6 +8,7 @@ Requires=docker.service
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStartPre=-/usr/bin/docker kill %n
|
ExecStartPre=-/usr/bin/docker kill %n
|
||||||
ExecStartPre=-/usr/bin/docker rm %n
|
ExecStartPre=-/usr/bin/docker rm %n
|
||||||
|
|
||||||
ExecStart=/usr/bin/docker run --rm --name %n \
|
ExecStart=/usr/bin/docker run --rm --name %n \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
@ -22,6 +23,7 @@ ExecStart=/usr/bin/docker run --rm --name %n \
|
|||||||
--entrypoint /bin/sh \
|
--entrypoint /bin/sh \
|
||||||
{{ matrix_s3_goofys_docker_image }} \
|
{{ matrix_s3_goofys_docker_image }} \
|
||||||
-c 'goofys -f{% if not matrix_s3_media_store_custom_endpoint_enabled %} --storage-class=STANDARD_IA{% endif %}{% if matrix_s3_media_store_custom_endpoint_enabled %} --endpoint={{ matrix_s3_media_store_custom_endpoint }}{% endif %} --region {{ matrix_s3_media_store_region }} --stat-cache-ttl 60m0s --type-cache-ttl 60m0s --dir-mode 0700 --file-mode 0700 {{ matrix_s3_media_store_bucket_name }} /s3'
|
-c 'goofys -f{% if not matrix_s3_media_store_custom_endpoint_enabled %} --storage-class=STANDARD_IA{% endif %}{% if matrix_s3_media_store_custom_endpoint_enabled %} --endpoint={{ matrix_s3_media_store_custom_endpoint }}{% endif %} --region {{ matrix_s3_media_store_region }} --stat-cache-ttl 60m0s --type-cache-ttl 60m0s --dir-mode 0700 --file-mode 0700 {{ matrix_s3_media_store_bucket_name }} /s3'
|
||||||
|
|
||||||
TimeoutStartSec=5min
|
TimeoutStartSec=5min
|
||||||
ExecStop=-/usr/bin/docker stop %n
|
ExecStop=-/usr/bin/docker stop %n
|
||||||
ExecStop=-/usr/bin/docker kill %n
|
ExecStop=-/usr/bin/docker kill %n
|
||||||
@ -29,6 +31,7 @@ ExecStop=-/usr/bin/docker rm %n
|
|||||||
ExecStop=-/bin/fusermount -u {{ matrix_synapse_media_store_path }}
|
ExecStop=-/bin/fusermount -u {{ matrix_synapse_media_store_path }}
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
SyslogIdentifier=matrix-goofys
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -60,6 +60,20 @@ public_baseurl: https://{{ matrix_server_fqn_matrix }}/
|
|||||||
#
|
#
|
||||||
use_presence: {{ matrix_synapse_use_presence|to_json }}
|
use_presence: {{ matrix_synapse_use_presence|to_json }}
|
||||||
|
|
||||||
|
# Whether to require authentication to retrieve profile data (avatars,
|
||||||
|
# display names) of other users through the client API. Defaults to
|
||||||
|
# 'false'. Note that profile data is also available via the federation
|
||||||
|
# API, so this setting is of limited value if federation is enabled on
|
||||||
|
# the server.
|
||||||
|
#
|
||||||
|
#require_auth_for_profile_requests: true
|
||||||
|
|
||||||
|
# If set to 'true', requires authentication to access the server's
|
||||||
|
# public rooms directory through the client API, and forbids any other
|
||||||
|
# homeserver to fetch it via federation. Defaults to 'false'.
|
||||||
|
#
|
||||||
|
#restrict_public_rooms_to_local_users: true
|
||||||
|
|
||||||
# The GC threshold parameters to pass to `gc.set_threshold`, if defined
|
# The GC threshold parameters to pass to `gc.set_threshold`, if defined
|
||||||
#
|
#
|
||||||
#gc_thresholds: [700, 10, 10]
|
#gc_thresholds: [700, 10, 10]
|
||||||
@ -131,8 +145,8 @@ federation_domain_whitelist: {{ matrix_synapse_federation_domain_whitelist|to_js
|
|||||||
#
|
#
|
||||||
# Valid resource names are:
|
# Valid resource names are:
|
||||||
#
|
#
|
||||||
# client: the client-server API (/_matrix/client). Also implies 'media' and
|
# client: the client-server API (/_matrix/client), and the synapse admin
|
||||||
# 'static'.
|
# API (/_synapse/admin). Also implies 'media' and 'static'.
|
||||||
#
|
#
|
||||||
# consent: user consent forms (/_matrix/consent). See
|
# consent: user consent forms (/_matrix/consent). See
|
||||||
# docs/consent_tracking.md.
|
# docs/consent_tracking.md.
|
||||||
@ -241,6 +255,11 @@ listeners:
|
|||||||
# - medium: 'email'
|
# - medium: 'email'
|
||||||
# address: 'reserved_user@example.com'
|
# address: 'reserved_user@example.com'
|
||||||
|
|
||||||
|
# Whether to require a user to be in the room to add an alias to it.
|
||||||
|
# Defaults to 'true'.
|
||||||
|
#
|
||||||
|
#require_membership_for_aliases: false
|
||||||
|
|
||||||
|
|
||||||
## TLS ##
|
## TLS ##
|
||||||
|
|
||||||
@ -262,6 +281,40 @@ tls_certificate_path: {{ matrix_synapse_tls_certificate_path|to_json }}
|
|||||||
#
|
#
|
||||||
tls_private_key_path: {{ matrix_synapse_tls_private_key_path|to_json }}
|
tls_private_key_path: {{ matrix_synapse_tls_private_key_path|to_json }}
|
||||||
|
|
||||||
|
# Whether to verify TLS certificates when sending federation traffic.
|
||||||
|
#
|
||||||
|
# This currently defaults to `false`, however this will change in
|
||||||
|
# Synapse 1.0 when valid federation certificates will be required.
|
||||||
|
#
|
||||||
|
#federation_verify_certificates: true
|
||||||
|
|
||||||
|
# Skip federation certificate verification on the following whitelist
|
||||||
|
# of domains.
|
||||||
|
#
|
||||||
|
# This setting should only be used in very specific cases, such as
|
||||||
|
# federation over Tor hidden services and similar. For private networks
|
||||||
|
# of homeservers, you likely want to use a private CA instead.
|
||||||
|
#
|
||||||
|
# Only effective if federation_verify_certicates is `true`.
|
||||||
|
#
|
||||||
|
#federation_certificate_verification_whitelist:
|
||||||
|
# - lon.example.com
|
||||||
|
# - *.domain.com
|
||||||
|
# - *.onion
|
||||||
|
|
||||||
|
# List of custom certificate authorities for federation traffic.
|
||||||
|
#
|
||||||
|
# This setting should only normally be used within a private network of
|
||||||
|
# homeservers.
|
||||||
|
#
|
||||||
|
# Note that this list will replace those that are provided by your
|
||||||
|
# operating environment. Certificates must be in PEM format.
|
||||||
|
#
|
||||||
|
#federation_custom_ca_list:
|
||||||
|
# - myCA1.pem
|
||||||
|
# - myCA2.pem
|
||||||
|
# - myCA3.pem
|
||||||
|
|
||||||
# ACME support: This will configure Synapse to request a valid TLS certificate
|
# ACME support: This will configure Synapse to request a valid TLS certificate
|
||||||
# for your configured `server_name` via Let's Encrypt.
|
# for your configured `server_name` via Let's Encrypt.
|
||||||
#
|
#
|
||||||
@ -691,6 +744,10 @@ registrations_require_3pid: {{ matrix_synapse_registrations_require_3pid|to_json
|
|||||||
# - medium: msisdn
|
# - medium: msisdn
|
||||||
# pattern: '\+44'
|
# pattern: '\+44'
|
||||||
|
|
||||||
|
# Enable 3PIDs lookup requests to identity servers from this server.
|
||||||
|
#
|
||||||
|
#enable_3pid_lookup: true
|
||||||
|
|
||||||
# If set, allows registration of standard or admin accounts by anyone who
|
# If set, allows registration of standard or admin accounts by anyone who
|
||||||
# has the shared secret, even if registration is otherwise disabled.
|
# has the shared secret, even if registration is otherwise disabled.
|
||||||
#
|
#
|
||||||
@ -914,7 +971,7 @@ password_config:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Enable sending emails for notification events
|
# Enable sending emails for notification events or expiry notices
|
||||||
# Defining a custom URL for Riot is only needed if email notifications
|
# Defining a custom URL for Riot is only needed if email notifications
|
||||||
# should contain links to a self-hosted installation of Riot; when set
|
# should contain links to a self-hosted installation of Riot; when set
|
||||||
# the "app_name" setting is ignored.
|
# the "app_name" setting is ignored.
|
||||||
@ -932,6 +989,9 @@ email:
|
|||||||
app_name: Matrix
|
app_name: Matrix
|
||||||
notif_template_html: notif_mail.html
|
notif_template_html: notif_mail.html
|
||||||
notif_template_text: notif_mail.txt
|
notif_template_text: notif_mail.txt
|
||||||
|
# Templates for account expiry notices.
|
||||||
|
expiry_template_html: notice_expiry.html
|
||||||
|
expiry_template_text: notice_expiry.txt
|
||||||
notif_for_new_users: True
|
notif_for_new_users: True
|
||||||
riot_base_url: {{ matrix_synapse_email_riot_base_url|string|to_json }}
|
riot_base_url: {{ matrix_synapse_email_riot_base_url|string|to_json }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -977,7 +1037,7 @@ password_providers:
|
|||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
uri: {{ matrix_synapse_ext_password_provider_ldap_uri|string|to_json }}
|
uri: {{ matrix_synapse_ext_password_provider_ldap_uri|string|to_json }}
|
||||||
start_tls: {{ matrix_synapse_ext_password_provider_ldap_start_tls|string|to_json }}
|
start_tls: {{ matrix_synapse_ext_password_provider_ldap_start_tls|to_json }}
|
||||||
base: {{ matrix_synapse_ext_password_provider_ldap_base|string|to_json }}
|
base: {{ matrix_synapse_ext_password_provider_ldap_base|string|to_json }}
|
||||||
attributes:
|
attributes:
|
||||||
uid: {{ matrix_synapse_ext_password_provider_ldap_attributes_uid|string|to_json }}
|
uid: {{ matrix_synapse_ext_password_provider_ldap_attributes_uid|string|to_json }}
|
||||||
|
@ -58,6 +58,7 @@ ExecStop=-/usr/bin/docker rm matrix-synapse
|
|||||||
ExecReload=/usr/bin/docker exec matrix-synapse kill -HUP 1
|
ExecReload=/usr/bin/docker exec matrix-synapse kill -HUP 1
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
SyslogIdentifier=matrix-synapse
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user