Skip to content

Commit

Permalink
docs: update docs to mention the available docker-image
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Jul 5, 2023
1 parent 561ff6f commit d4eb498
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,15 @@ SPEAKEASY_API_KEY='{API_KEY_HERE}' ./speakeasy-proxy

### Run Docker Image

If built locally:
If using our pre-built image first pull the required image:

```bash
docker run --network="host" -p 3333:3333 -v $(pwd)/config.yaml:/config.yaml -v $(pwd)/httpbin.yaml:/httpbin.yaml -e SPEAKEASY_API_KEY='{API_KEY_HERE}' speakeasy-proxy
docker pull ghcr.io/speakeasy-api/speakeasy-proxy:latest
```

If using our pre-built image:
otherwise build the image yourself (see [Building](#building) for details).

Then run the image:

```bash
```
docker run --network="host" -p 3333:3333 -v $(pwd)/config.yaml:/config.yaml -v $(pwd)/httpbin.yaml:/httpbin.yaml -e SPEAKEASY_API_KEY='{API_KEY_HERE}' speakeasy-proxy

0 comments on commit d4eb498

Please sign in to comment.