Skip to content

Commit

Permalink
docs: add container documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
theSuess committed Jun 29, 2021
1 parent 157651f commit bda03e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ WORKDIR /
COPY distrust /
USER nonroot:nonroot

EXPOSE 3000

ENTRYPOINT ["/distrust"]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ To run distrust, copy the `distrust.example.yml` file to `distrust.yml` and cust
./distrust
```

You can also use a container engine like podman or docker to run distrust

```sh
podman run -d \
--name distrust \
-v $PWD/distrust.yml:/distrust.yml:Z \
-p 3000:3000 \
ghcr.io/parkour-vienna/distrust:$VERSION
```

## Configuration

### Configuring Discourse
Expand Down

0 comments on commit bda03e4

Please sign in to comment.