@ -40,9 +40,17 @@ which also will tag the resulting image as `matrixconduit/matrix-conduit:latest`
@@ -40,9 +40,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:8000 -v ~/conduit.toml:/srv/conduit/conduit.toml -v db:/srv/conduit/.local/share/conduit matrixconduit/matrix-conduit:latest
this will map the container local port 6167 to the host local port 8448.
Furthermore it will map the `conduit.toml` file in your home directory into the container as well as the volume called `db`.
Be advised that the `db` directory needs to be `rwx` for the `wwww-data` user.
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 different env vars to change config values on the fly. You can even configure Conduit completely by using env vars, but for that you need
too pass `-e CONDUIT_CONFIG=""` into your container. For an overview of possible values, please take a look at the `docker-compose.yml` file.