summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimon Dwyer <simon@thedwyers.co>2018-09-16 10:22:27 +1000
committerSimon Dwyer <simon@thedwyers.co>2018-09-16 13:12:57 +1000
commit9c749a6b612d538a0d8374152ff358508f733734 (patch)
tree5b77a48f1d3ae61fbadbeb9adc85b4216d9c2196
parentmissing changelog (diff)
downloadsynapse-9c749a6b612d538a0d8374152ff358508f733734.tar.xz
Added 'MAX_UPLOAD_SIZE' variable and set default to "10M"
-rw-r--r--docker/conf/homeserver.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/conf/homeserver.yaml b/docker/conf/homeserver.yaml
index 6bc25bb45f..cfe88788f2 100644
--- a/docker/conf/homeserver.yaml
+++ b/docker/conf/homeserver.yaml
@@ -85,7 +85,7 @@ federation_rc_concurrent: 3
 
 media_store_path: "/data/media"
 uploads_path: "/data/uploads"
-max_upload_size: "10M"
+max_upload_size: "{{ SYNAPSE_MAX_UPLOAD_SIZE or "10M" }}"
 max_image_pixels: "32M"
 dynamic_thumbnails: false