summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorDaniel Wiesenberg <weasy@hotmail.de>2021-03-12 21:07:43 +0100
committerDaniel Wiesenberg <weasy@hotmail.de>2021-05-22 16:53:48 +0200
commitbeb428d8669d509b3199531660a3544ccff69d9a (patch)
treed98f3a04ce8764cd210f7a01b36567da6a717efa /docker
parent52a96b3d8404ccfc04ab0e0ba60ed8f9963ba686 (diff)
downloadconduit-beb428d8669d509b3199531660a3544ccff69d9a.zip
Update docker command in README
Mention the need for a config.
Diffstat (limited to 'docker')
-rw-r--r--docker/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/README.md b/docker/README.md
index 6ae7453..6bf36f1 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -40,10 +40,11 @@ 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:8000 -v db:/srv/conduit/.local/share/conduit -e CONDUIT_SERVER_NAME="localhost:8000" matrixconduit/matrix-conduit:latest
+docker run -d -p 8448:8000 -v ~/conduit.toml:/srv/conduit/conduit.toml -v db:/srv/conduit/.local/share/conduit matrixconduit/matrix-conduit:latest
```
-For detached mode, you also need to use the `-d` flag. You can pass in more env vars as are shown here, for an overview of possible values, you can take a look at the `docker-compose.yml` file.
+For detached mode, you also need to use the `-d` flag. You also need to supply a `conduit.toml` config file, you can find an example [here](../conduit-example.toml).
+You can pass in more env vars as are shown here, for an overview of possible values, you can take a look at the `docker-compose.yml` file.
If you just want to test Conduit for a short time, you can use the `--rm` flag, which will clean up everything related to your container after you stop it.