document supported env vars for docker 'generate' option

This commit is contained in:
Richard van der Hoff 2019-06-25 15:09:22 +01:00
parent 043ab6da13
commit c58a6e6108
1 changed files with 7 additions and 0 deletions

View File

@ -179,3 +179,10 @@ docker run -d --name synapse \
-e SYNAPSE_CONFIG_PATH=/data/homeserver.yaml \ -e SYNAPSE_CONFIG_PATH=/data/homeserver.yaml \
matrixdotorg/synapse:latest matrixdotorg/synapse:latest
``` ```
The following environment variables are supported in this mode:
* `SYNAPSE_SERVER_NAME` (mandatory): the server public hostname.
* `SYNAPSE_REPORT_STATS` (mandatory, `yes` or `no`): whether to enable
anonymous statistics reporting.
* `SYNAPSE_CONFIG_PATH` (mandatory): path to the file to be generated.