Skip to content

Commit

Permalink
docs: Updates execution instructions (#56)
Browse files Browse the repository at this point in the history
Adjusting run script to respect env variables
  • Loading branch information
maryoush authored and arekkas committed Mar 4, 2018
1 parent 4676f40 commit 3bcfd8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/1-Quickstart/2-EXECUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ $ export BACKEND_URL=http://my-api-endpoint-servers.com/
# This should be a proper database URL in production, see `hydra help serve proxy`
$ export DATABASE_URL=memory
$ docker run oryd/oathkeeper:v0.0.20 serve all
# Each of environment variables needs to be injected into docker container properly '-e key=value'
$ docker run -e DATABASE_URL=$DATABASE_URL -e HYDRA_URL=$HYDRA_URL -e HYDRA_JWK_SET_ID=$HYDRA_JWK_SET_ID -e HYDRA_CLIENT_ID=$HYDRA_CLIENT_ID -e HYDRA_CLIENT_SECRET=$HYDRA_CLIENT_SECRET -e BACKEND_URL=$BACKEND_URL oryd/oathkeeper:v0.0.20 serve all
```

Now, we have a proxy listening on port 4455 and the management REST API at port 4456.

0 comments on commit 3bcfd8b

Please sign in to comment.