summary refs log tree commit diff
path: root/docker/README.md
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-06-25 15:18:30 +0100
committerRichard van der Hoff <richard@matrix.org>2019-06-26 15:38:08 +0100
commit7e433beb65946a39442f025705429227bfa3e429 (patch)
tree8ebb6fb8c0cdf08042c37abce05761552c7cf0fb /docker/README.md
parentdocument supported env vars for docker 'generate' option (diff)
downloadsynapse-7e433beb65946a39442f025705429227bfa3e429.tar.xz
Docker image: add support for SYNAPSE_DATA_DIR parameter
Fixes #4830.
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
index 10af88844b..5c85c538a8 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -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`.