Docker image: add support for SYNAPSE_DATA_DIR parameter

Fixes #4830.
This commit is contained in:
Richard van der Hoff 2019-06-25 15:18:30 +01:00
parent c58a6e6108
commit 7e433beb65
2 changed files with 17 additions and 4 deletions

View file

@ -186,3 +186,7 @@ The following environment variables are supported in this mode:
* `SYNAPSE_REPORT_STATS` (mandatory, `yes` or `no`): whether to enable
anonymous statistics reporting.
* `SYNAPSE_CONFIG_PATH` (mandatory): path to the file to be generated.
* `SYNAPSE_DATA_DIR`: where the generated config will put persistent data
such as the datatase and media store. Defaults to `/data`.
* `UID`, `GID`: the user id and group id to use for creating the data
directories. Defaults to `991`, `991`.