Fix order of docker command arguments and change repository link to...

...github.com repo, to relieve some pressure from git.koesters.xyz.
This commit is contained in:
Daniel Wiesenberg 2020-10-18 23:06:08 +02:00
parent cde4178f4a
commit 2d6b7750fd
3 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ 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 matrixconduit/matrix-conduit:latest -p 8448:8000 -v db:/srv/conduit/.local/share/conduit -e ROCKET_SERVER_NAME="localhost:8000"
docker run -d -p 8448:8000 -v db:/srv/conduit/.local/share/conduit -e ROCKET_SERVER_NAME="localhost:8000" 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.