Readme alterations
YAML needed additional indenting for it to work with docker compose, also the "-c" flag is required.
This commit is contained in:
parent
6d7dee6175
commit
ee865701c8
@ -233,6 +233,11 @@ For a full example of a login page's template see [source code](internal/web/tem
|
|||||||
condition: none
|
condition: none
|
||||||
depends_on:
|
depends_on:
|
||||||
- hydra
|
- hydra
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://hydra:4445"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 10
|
||||||
hydra:
|
hydra:
|
||||||
image: oryd/hydra:v1.0.0-rc.12
|
image: oryd/hydra:v1.0.0-rc.12
|
||||||
environment:
|
environment:
|
||||||
@ -290,7 +295,7 @@ For a full example of a login page's template see [source code](internal/web/tem
|
|||||||
|
|
||||||
3. Run the command:
|
3. Run the command:
|
||||||
```bash
|
```bash
|
||||||
docker stack deploy docker-compose.yml auth
|
docker stack deploy -c docker-compose.yml auth
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Open the browser with http://localhost:4444/oauth2/auth?client_id=test-client&response_type=token&scope=openid%20profile%20email&state=12345678.
|
4. Open the browser with http://localhost:4444/oauth2/auth?client_id=test-client&response_type=token&scope=openid%20profile%20email&state=12345678.
|
||||||
|
Loading…
Reference in New Issue
Block a user