Skip to content

Commit

Permalink
DockerHub readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dadrus committed Jan 9, 2025
1 parent 439caf9 commit 682e63b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions DockerHub-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ default_rule:
Start heimdall:
```bash
docker run -t -p 4456:4456 -v $PWD:/heimdall/conf \
docker run -t -p 4455:4455 -v $PWD:/heimdall/conf \
dadrus/heimdall:latest serve decision -c /heimdall/conf/heimdall.yaml
```

Call the decision service endpoint to emulate behavior of an API-Gateway:

```bash
curl -v 127.0.0.1:4456/foobar
curl -v 127.0.0.1:4455/foobar
```

You should now see similar output to the following snippet:

```bash
* Trying 127.0.0.1:4456...
* Connected to 127.0.0.1 (127.0.0.1) port 4456 (#0)
* Trying 127.0.0.1:4455...
* Connected to 127.0.0.1 (127.0.0.1) port 4455 (#0)
> GET /foobar HTTP/1.1
> Host: 127.0.0.1:4456
> Host: 127.0.0.1:4455
> User-Agent: curl/7.74.0
> Accept: */*
>
Expand Down

0 comments on commit 682e63b

Please sign in to comment.