Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
[Akarsh] Update readme for ODPF dockerhub image links (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
AkarshSatija authored Feb 17, 2021
1 parent c2a5c38 commit 7291d88
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ Kafka to BigQuery Sink
## Run locally:
```
git clone https://github.com/gojekfarm/beast
git clone https://github.com/odpf/beast
export $(cat ./env/sample.properties | xargs -L1) && gradle clean runConsumer
```
## Run with Docker
The image is available in [gojektech](https://hub.docker.com/r/gojektech/beast) dockerhub.
The image is available in [odpf](https://hub.docker.com/r/odpf/beast) dockerhub.
```
export TAG=80076c77dc8504e7c758865602aca1b05259e5d3
docker run --env-file beast.env -v ./local_dir/project-secret.json:/var/bq-secret.json -it gojektech/beast:$TAG
export TAG=release-0.1.1
docker run --env-file beast.env -v ./local_dir/project-secret.json:/var/bq-secret.json -it odpf/beast:$TAG
```
* `-v` mounts local secret file `project-sercret.json` to the docker mentioned location, and `GOOGLE_CREDENTIALS` should match the same `/var/bq-secret.json` which is used for BQ authentication.
* `TAG`You could update the tag if you want the latest image, the mentioned tag is tested well.
Expand Down Expand Up @@ -97,7 +97,7 @@ You can generate messages with TestMessage.proto with [sample-kafka-producer](ht
To run and test locally:
```
git clone https://github.com/gojekfarm/beast
git clone https://github.com/odpf/beast
export $(cat ./env/sample.properties | xargs -L1) && gradlew test
```

0 comments on commit 7291d88

Please sign in to comment.