summary refs log tree commit diff
path: root/docker/README.md
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-06-27 11:17:44 +0100
committerGitHub <noreply@github.com>2019-06-27 11:17:44 +0100
commitb1b8a24b63c6c8b2076a3070c26e5ee2e8d6edb7 (patch)
treee89fe41b728fa578c8a0bb94bcd0ea1b9accd9c2 /docker/README.md
parentMerge pull request #5562 from matrix-org/rav/docker/no-generate-keys (diff)
parentchangelog (diff)
downloadsynapse-b1b8a24b63c6c8b2076a3070c26e5ee2e8d6edb7.tar.xz
Merge pull request #5563 from matrix-org/rav/docker/data_dir
Docker image: add support for SYNAPSE_DATA_DIR parameter
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
index 5a596eecb9..5c85c538a8 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -179,3 +179,14 @@ docker run -d --name synapse \
     -e SYNAPSE_CONFIG_PATH=/data/homeserver.yaml \
     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.
+* `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`.