Update server.yaml.tmpl

This commit is contained in:
Sebastian Hugentobler 2016-10-31 13:06:46 +01:00 committed by GitHub
parent 26bc83851e
commit 0d0ef56bce

View File

@ -1,5 +1,5 @@
tls_certificate_path: "/etc/ssl/synapse/fullchain.pem" tls_certificate_path: "/etc/ssl/synapse/{{getenv "CERT_NAME" "fullchain.pem"}}"
tls_private_key_path: "/etc/ssl/synapse/privkey.pem" tls_private_key_path: "/etc/ssl/synapse/{{getenv "KEY_NAME" "privkey.pem"}}"
tls_dh_params_path: "/var/lib/synapse/signing/dhparams.pem" tls_dh_params_path: "/var/lib/synapse/signing/dhparams.pem"
no_tls: False no_tls: False
@ -67,9 +67,9 @@ federation_rc_concurrent: 3
media_store_path: "/var/lib/synapse/media_store" media_store_path: "/var/lib/synapse/media_store"
uploads_path: "/var/lib/synapse/uploads" uploads_path: "/var/lib/synapse/uploads"
max_upload_size: "{{getenv "MAX_UPLOAD_SIZE"}}" max_upload_size: "{{getenv "MAX_UPLOAD_SIZE" "10M"}}"
max_image_pixels: "{{getenv "MAX_THUMBNAIL_PIXELS"}}" max_image_pixels: "{{getenv "MAX_THUMBNAIL_PIXELS" "32M"}}"
dynamic_thumbnails: {{getenv "DYNAMIC_THUMBNAILS"}} dynamic_thumbnails: {{getenv "DYNAMIC_THUMBNAILS" "True"}}
thumbnail_sizes: thumbnail_sizes:
- width: 32 - width: 32
@ -95,7 +95,7 @@ registration_shared_secret: "{{getenv "SHARED_SECRET"}}"
turn_uris: [{{getenv "TURN_URIS"}}] turn_uris: [{{getenv "TURN_URIS"}}]
turn_shared_secret: "{{getenv "TURN_SHARED_SECRET"}}" turn_shared_secret: "{{getenv "TURN_SHARED_SECRET"}}"
turn_user_lifetime: {{getenv "TURN_USER_LIFETIME"}} turn_user_lifetime: {{getenv "TURN_USER_LIFETIME" "1h"}}
enable_registration: False enable_registration: False
allow_guest_access: False allow_guest_access: False
@ -104,8 +104,8 @@ trusted_third_party_id_servers:
- matrix.org - matrix.org
- vector.im - vector.im
enable_metrics: {{getenv "ENABLE_METRICS"}} enable_metrics: no
report_stats: {{getenv "REPORT_STATS"}} report_stats: {{getenv "REPORT_STATS" "no"}}
room_invite_state_types: room_invite_state_types:
- "m.room.join_rules" - "m.room.join_rules"