Skip to content

Commit

Permalink
docs: Upgrades install guide to v0.11.6
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Feb 9, 2018
1 parent e3cf29d commit 0441209
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ $ export SYSTEM_SECRET=this_needs_to_be_the_same_always_and_also_very_$3cuR3-._
$ export DATABASE_URL=postgres://hydra:secret@ory-hydra-example--postgres:5432/hydra?sslmode=disable
# Before starting, let's pull the latest ORY Hydra tag from docker.
$ docker pull oryd/hydra:v0.10.10
$ docker pull oryd/hydra:v0.11.6
# This command will show you all the environment variables that you can set. Read this carefully.
# It is the equivalent to `hydra help host`.
$ docker run -it --rm --entrypoint hydra oryd/hydra:v0.10.10 help host
$ docker run -it --rm --entrypoint hydra oryd/hydra:v0.11.6 help host
Starts all HTTP/2 APIs and connects to a database backend.
[...]
Expand All @@ -67,7 +67,7 @@ Starts all HTTP/2 APIs and connects to a database backend.
# It is the equivalent to `hydra migrate sql postgres://hydra:secret@ory-hydra-example--postgres:5432/hydra?sslmode=disable`
$ docker run -it --rm \
--network hydraguide \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
migrate sql $DATABASE_URL
Applying `ladon` SQL migrations...
Expand All @@ -86,7 +86,7 @@ $ docker run -d \
-e ISSUER=https://localhost:9000/ \
-e CONSENT_URL=http://localhost:9020/consent \
-e FORCE_ROOT_CLIENT_CREDENTIALS=admin:demo-password \
oryd/hydra:v0.10.10
oryd/hydra:v0.11.6
# And check if it's running:
$ docker logs ory-hydra-example--hydra
Expand Down Expand Up @@ -143,7 +143,7 @@ ORY Hydra can be managed using the Hydra Command Line Interface (CLI), which is
see the available commands, run:

```
$ docker run --rm -it --entrypoint hydra oryd/hydra:v0.10.10 help
$ docker run --rm -it --entrypoint hydra oryd/hydra:v0.11.6 help
Hydra is a cloud native high throughput OAuth2 and OpenID Connect provider
Usage:
Expand Down Expand Up @@ -219,7 +219,7 @@ $ docker run --rm -it \
-e CLIENT_ID=admin \
-e CLIENT_SECRET=demo-password \
--network hydraguide \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
<command>
```

Expand All @@ -242,7 +242,7 @@ $ docker run --rm -it \
-e CLIENT_ID=admin \
-e CLIENT_SECRET=demo-password \
--network hydraguide \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
token client --skip-tls-verify
tY9tGakiYAUn8VIGn_yCDlTahckSfGbDQIlXahjXtX0.BQlCxRDL3ngag6hdsSl9N2qrz7R399cQMfld8aI2Mlg
Expand All @@ -254,7 +254,7 @@ $ docker run --rm -it \
-e CLIENT_SECRET=demo-password \
-e TOKEN=$token \
--network hydraguide \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
token validate --skip-tls-verify \
tY9tGakiYAUn8VIGn_yCDlTahckSfGbDQIlXahjXtX0.BQlCxRDL3ngag6hdsSl9N2qrz7R399cQMfld8aI2Mlg
Expand Down Expand Up @@ -284,7 +284,7 @@ $ docker run --rm -it \
-e CLIENT_SECRET=demo-password \
--network hydraguide \
-p 9010:4445 \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
clients create --skip-tls-verify \
--id consent-app \
--secret consent-secret \
Expand Down Expand Up @@ -318,7 +318,7 @@ $ docker run --rm -it \
-e CLIENT_SECRET=demo-password \
--network hydraguide \
-p 9010:4445 \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
policies create --skip-tls-verify \
--actions get,accept,reject \
--description "Allow consent-app to manage OAuth2 consent requests." \
Expand Down Expand Up @@ -351,7 +351,7 @@ $ docker run -d \
-e HYDRA_CLIENT_SECRET=consent-secret \
-e HYDRA_URL=https://ory-hydra-example--hydra:4444 \
-e NODE_TLS_REJECT_UNAUTHORIZED=0 \
oryd/hydra-consent-app-express:v0.10.10-alpha.9
oryd/hydra-consent-app-express:v0.10.10
# Let's check if it's running ok:
$ docker logs ory-hydra-example--consent
Expand All @@ -376,7 +376,7 @@ $ docker run --rm -it \
-e CLIENT_ID=admin \
-e CLIENT_SECRET=demo-password \
--network hydraguide \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
clients create --skip-tls-verify \
--id some-consumer \
--secret consumer-secret \
Expand Down Expand Up @@ -405,7 +405,7 @@ $ docker run --rm -it \
-e CLIENT_ID=admin \
-e CLIENT_SECRET=demo-password \
--network hydraguide \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
policies create --skip-tls-verify \
--actions get \
--description "Allow everyone to read the OpenID Connect ID Token public key" \
Expand All @@ -426,7 +426,7 @@ same thing happens with this command:
$ docker run --rm -it \
--network hydraguide \
-p 9010:4445 \
oryd/hydra:v0.10.10 \
oryd/hydra:v0.11.6 \
token user --skip-tls-verify \
--auth-url https://localhost:9000/oauth2/auth \
--token-url https://ory-hydra-example--hydra:4444/oauth2/token \
Expand Down

0 comments on commit 0441209

Please sign in to comment.