Skip to content

Commit

Permalink
Minor Adjustments on Hotrod Readme
Browse files Browse the repository at this point in the history
- exposing more ports on Dockerfile
and copy only binary to Dockerfile

Signed-off-by: Guilherme Baufaker Rêgo <gbaufake@redhat.com>
  • Loading branch information
Guilherme Baufaker Rêgo committed Feb 14, 2018
1 parent 4e0bf0a commit c40cb5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
4 changes: 2 additions & 2 deletions examples/hotrod/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM scratch
EXPOSE 8080
COPY . /
EXPOSE 8080 8081 8082 8083
COPY collector-linux /
CMD ["./collector-linux", "all"]
15 changes: 2 additions & 13 deletions examples/hotrod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,9 @@ Then open http://127.0.0.1:8080


# HotROD on Containerized Version
## Requirements
- go
- docker-compose
- docker
### Creating the images

```
chmod +x ./create-image.sh
./create-image.sh
```

### Run Everyting
## Running on Docker
```
docker run -p 8080:8080 -p 8082:8082 -p 8083:8083 jaegertracing/hotrod
docker run -d -p 8080:8080 -p 8082:8082 -p 8083:8083 jaegertracing/hotrod &&
docker run -d -p6831:6831/udp -p16686:16686 jaegertracing/all-in-one:latest
```

Expand Down

0 comments on commit c40cb5f

Please sign in to comment.