docs: Add missing port mapping parameter for running in docker
All checks were successful
Rust / build (push) Successful in 6m11s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 56s

This commit is contained in:
Paul Campbell 2024-09-13 08:59:04 +01:00
parent a77c6335a6
commit 189d579d33
2 changed files with 4 additions and 2 deletions

View file

@ -612,7 +612,7 @@ Note: this assumes the `git-next-server.toml` has a `listen.http.port` of
This will run with the `server start` options: This will run with the `server start` options:
```shell ```shell
docker run -it -v .:/app/ git.kemitix.net/kemitix/git-next:latest docker run -it -p "8080:8092" -v .:/app/ git.kemitix.net/kemitix/git-next:latest
``` ```
To perform `server init`: To perform `server init`:

View file

@ -17,7 +17,9 @@ the current directory for this.
If you want to persist the clones of your monitored repos then point `storage.path` in If you want to persist the clones of your monitored repos then point `storage.path` in
`git-next-server.toml` to the the directory `/app`, (e.g. `path = "/app/data"`). `git-next-server.toml` to the the directory `/app`, (e.g. `path = "/app/data"`).
`docker run -it -v .:/app/ git.kemitix.net/kemitix/git-next:latest server start --ui` Map the port your webhook notifications are arriving on to the port specified in `listen.http.port`.
`docker run -it -p "8080:8092" -v .:/app/ git.kemitix.net/kemitix/git-next:latest server start --ui`
## logs ## logs