summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJonas Zohren <git-pbkyr@jzohren.de>2022-02-13 12:38:13 +0000
committerJonas Zohren <git-pbkyr@jzohren.de>2022-02-16 15:12:40 +0100
commit0be8500c4fec53d2442da7f3cb98ecc6cbe198da (patch)
tree9a8c37ff8c42534748d12e5266476463988ef46d /docker
parent97507d28806e7a10cb4ffc9ab4cc64b902b267ef (diff)
downloadconduit-0be8500c4fec53d2442da7f3cb98ecc6cbe198da.zip
Set all env vars in docker README
Diffstat (limited to 'docker')
-rw-r--r--docker/README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/docker/README.md b/docker/README.md
index 28ad06f..f9d94ab 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -24,7 +24,17 @@ which also will tag the resulting image as `matrixconduit/matrix-conduit:latest`
After building the image you can simply run it with
```bash
-docker run -d -p 8448:6167 -v ~/conduit.toml:/srv/conduit/conduit.toml -v db:/var/lib/matrix-conduit/ matrixconduit/matrix-conduit:latest
+docker run -d -p 8448:6167 \
+ -v db:/var/lib/matrix-conduit/ \
+ -e CONDUIT_SERVER_NAME="your.server.name" \
+ -e CONDUIT_DATABASE_BACKEND="rocksdb" \
+ -e CONDUIT_ALLOW_REGISTRATION=true \
+ -e CONDUIT_ALLOW_FEDERATION=true \
+ -e CONDUIT_MAX_REQUEST_SIZE="20_000_000" \
+ -e CONDUIT_TRUSTED_SERVERS="[\"matrix.org\"]" \
+ -e CONDUIT_MAX_CONCURRENT_REQUESTS="100" \
+ -e CONDUIT_LOG="info,rocket=off,_=off,sled=off" \
+ --name conduit matrixconduit/matrix-conduit:latest
```
or you can skip the build step and pull the image from one of the following registries: