summary refs log tree commit diff
path: root/contrib/docker/conf
diff options
context:
space:
mode:
authorkaiyou <pierre@jaury.eu>2018-02-08 20:46:11 +0100
committerkaiyou <pierre@jaury.eu>2018-02-08 20:46:11 +0100
commita0af0054ec91e92a6843c121cd27e92ea63c1034 (patch)
tree2995a6174230d1b65d39975cfc9d4e3ddb6ac143 /contrib/docker/conf
parentDisable the Web client in the Docker image (diff)
downloadsynapse-a0af0054ec91e92a6843c121cd27e92ea63c1034.tar.xz
Honor the SYNAPSE_REPORT_STATS parameter in the Docker image
Diffstat (limited to 'contrib/docker/conf')
-rw-r--r--contrib/docker/conf/homeserver.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/docker/conf/homeserver.yaml b/contrib/docker/conf/homeserver.yaml
index 19a2cbad29..3b57f7174d 100644
--- a/contrib/docker/conf/homeserver.yaml
+++ b/contrib/docker/conf/homeserver.yaml
@@ -156,8 +156,13 @@ trusted_third_party_id_servers:
 
 ## Metrics ###
 
+{% if SYNAPSE_REPORT_STATS.lower() == "yes" %}
+enable_metrics: True
+report_stats: True
+{% else %}
 enable_metrics: False
 report_stats: False
+{% endif %}
 
 ## API Configuration ##