Skip to content

Commit

Permalink
fix: mediator startup command improved to allow setting the service e…
Browse files Browse the repository at this point in the history
…ndpoints
  • Loading branch information
elribonazo committed Aug 13, 2024
1 parent f6f7ab5 commit 9a2d686
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions documentation/docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,16 @@ The latest mediator version can be found at [Mediator releases](https://github.c

:::

Mac OSX terminal shell
```bash
MEDIATOR_VERSION=0.15.0 SERVICE_ENDPOINTS="http://$(ipconfig getifaddr $(route get default | grep interface | awk '{print $2}')):8080;ws://$(ipconfig getifaddr $(route get default | grep interface | awk '{print $2}')):8080/ws" docker-compose up
```
Linux terminal shell
```bash
MEDIATOR_VERSION=0.15.0 docker-compose up
MEDIATOR_VERSION=0.15.0 SERVICE_ENDPOINTS="http://$(ip addr show $(ip route show default | awk '/default/ {print $5}') | grep 'inet ' | awk '{print $2}' | cut -d/ -f1):8080;ws://$(ip addr show $(ip route show default | awk '/default/ {print $5}') | grep 'inet ' | awk '{print $2}' | cut -d/ -f1):8080/ws" docker-compose up
```

`MEDIATOR_ENDPOINT` is then set to [http://localhost:8080](http://localhost:8080).
`MEDIATOR_ENDPOINT` is then set to your local ip address:8080.

3. More advanced documentation and configuration options can be found [here](https://github.com/hyperledger/identus-mediator).

Expand Down

0 comments on commit 9a2d686

Please sign in to comment.