update config file

This commit is contained in:
Sebastian Hugentobler 2020-07-21 19:38:30 +02:00
parent ef6b6b8f3c
commit c6541e55b2
3 changed files with 5 additions and 10 deletions

View File

@ -37,4 +37,4 @@ ADD /rootfs /
RUN chown -R matrix-synapse:matrix-synapse /var/lib/matrix-synapse
ENV HOME /var/lib/matrix-synapse
VOLUME /var/lib/matrix-synapse/media_store/ /var/lib/matrix-synapse/uploads /var/lib/matrix-synapse/signing/ /etc/ssl/matrix-synapse/ /var/lib/matrix-synapse/registrations/
VOLUME /var/lib/matrix-synapse/media_store/ /var/lib/matrix-synapse/signing/ /etc/ssl/matrix-synapse/ /var/lib/matrix-synapse/registrations/

View File

@ -3,8 +3,6 @@
# Volumes
- `/var/lib/matrix-synapse/media_store/`
- `/var/lib/matrix-synapse/signing/`
- `/var/lib/matrix-synapse/uploads/`
- `/etc/ssl/matrix-synapse/:ro`: certificates have to be here
- `/var/lib/matrix-synapse/registrations/`
# Environment Variables
@ -64,9 +62,6 @@ Maximum number of pixels that will be thumbnailed.
Whether to generate new thumbnails on the fly to precisely match the resolution requested by the client.
## REPORT_STATS
- default: no
## REGISTRATIONS
- default: []

View File

@ -1321,7 +1321,7 @@ metrics_flags:
# Whether or not to report anonymized homeserver usage statistics.
#
#report_stats: false
report_stats: true
# The endpoint to report the anonymized homeserver usage statistics to.
# Defaults to https://matrix.org/report-usage-stats/push
@ -1707,13 +1707,13 @@ oidc_config:
#
# This must be configured if using the default mapping provider.
#
localpart_template: "{{ user.preferred_username }}"
localpart_template: "user.preferred_username"
# Jinja2 template for the display name to set on first login.
#
# If unset, no displayname will be set.
#
#display_name_template: "{{ user.given_name }} {{ user.last_name }}"
#display_name_template: "user.given_name user.last_name"