Readme alterations

YAML needed additional indenting for it to work with docker compose, also the "-c" flag is required.
This commit is contained in:
dre2004 2019-07-26 07:02:03 +10:00 committed by Nikolay Stupak
parent 6d7dee6175
commit ee865701c8

View File

@ -233,6 +233,11 @@ For a full example of a login page's template see [source code](internal/web/tem
condition: none
depends_on:
- hydra
healthcheck:
test: ["CMD", "curl", "-f", "http://hydra:4445"]
interval: 10s
timeout: 10s
retries: 10
hydra:
image: oryd/hydra:v1.0.0-rc.12
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:
```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.