Skip to content

Commit

Permalink
docs: docker file links (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanforssell authored Mar 29, 2021
1 parent 31e9632 commit 4d9b6a3
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion docs/docs/concepts/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ below:

```dockerfile
FROM oryd/kratos:latest
COPY contrib/quickstart/kratos/email-password/.kratos.yml /home/ory
COPY contrib/quickstart/kratos/email-password/kratos.yml /home/ory
```

### Examples
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/guides/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ below:

```dockerfile
FROM oryd/kratos:latest
COPY contrib/quickstart/kratos/email-password/.kratos.yml /ory/home
COPY contrib/quickstart/kratos/email-password/kratos.yml /ory/home
```

### Examples
Expand Down
26 changes: 13 additions & 13 deletions docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ local claims = {
```

Now, enable the Discord provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down Expand Up @@ -203,9 +203,9 @@ local claims = {
```

Now, enable the Slack provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down Expand Up @@ -294,9 +294,9 @@ local claims = {
```

Now, enable the GitHub provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down Expand Up @@ -365,9 +365,9 @@ local claims = {
```

Now, enable the GitLab provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down Expand Up @@ -438,9 +438,9 @@ local claims = std.extVar('claims');
```

Enable the Microsoft provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
selfservice:
methods:
oidc:
Expand Down Expand Up @@ -522,9 +522,9 @@ local claims = {
```

Now, enable the Twitch provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down Expand Up @@ -679,7 +679,7 @@ local claims = {
```

Now, enable the Google provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,11 @@ chapters of this documentation.

To get a minimal version of ORY Kratos running, you need to set configuration
values for
[`identity.default_schema_url`](https:/ory/kratos/blob/v0.5.5-alpha.1/contrib/quickstart/kratos/email-password/.kratos.yml#L67)
[`identity.default_schema_url`](https:/ory/kratos/blob/v0.5.5-alpha.1/contrib/quickstart/kratos/email-password/kratos.yml#L75)
and
[`DSN`](https:/ory/kratos/blob/v0.5.5-alpha.1/quickstart.yml#L42).
You should also configure
[`selfservice.flows.*.ui_url`](https:/ory/kratos/blob/v0.5.5-alpha.1/contrib/quickstart/kratos/email-password/.kratos.yml#L40)
[`selfservice.flows.*.ui_url`](https:/ory/kratos/blob/v0.5.5-alpha.1/contrib/quickstart/kratos/email-password/kratos.yml#L24)
or else Kratos will use fallback URLs.

:::
Expand Down Expand Up @@ -506,7 +506,7 @@ If you want to run the quickstart with MySQL, run the following docker-compose:

If you want to change ports for the SelfService-UI, you need to change them in
`quickstart.yml` as well as in the
`contrib/quickstart/kratos/email-password/.kratos.yml` accordingly.
`contrib/quickstart/kratos/email-password/kratos.yml` accordingly.

Note that you also need to change the ports for flows (error, settings,
recovery, verification, logout, login, registration).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ local claims = {
```

Now, enable the GitHub provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
strategies:
Expand Down Expand Up @@ -141,9 +141,9 @@ local claims = std.extVar('claims');
See https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-flow-disable-email-verification for warnings.

Enable the Microsoft Azure provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
selfservice:
strategies:
oidc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ local claims = {
```

Now, enable the GitHub provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
strategies:
Expand Down Expand Up @@ -150,9 +150,9 @@ local claims = std.extVar('claims');
```

Enable the Microsoft provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
selfservice:
strategies:
oidc:
Expand Down
4 changes: 2 additions & 2 deletions docs/versioned_docs/version-v0.4/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -591,11 +591,11 @@ chapters of this documentation.

To get a minimal version of ORY Kratos running, you need to set configuration
values for
[`identity.default_schema_url`](https:/ory/kratos/blob/v0.4.6-alpha.1/contrib/quickstart/kratos/email-password/.kratos.yml#L67)
[`identity.default_schema_url`](https:/ory/kratos/blob/v0.4.6-alpha.1/contrib/quickstart/kratos/email-password/kratos.yml#L67)
and
[`DSN`](https:/ory/kratos/blob/v0.4.6-alpha.1/quickstart.yml#L42).
You should also configure
[`selfservice.flows.*.ui_url`](https:/ory/kratos/blob/v0.4.6-alpha.1/contrib/quickstart/kratos/email-password/.kratos.yml#L40)
[`selfservice.flows.*.ui_url`](https:/ory/kratos/blob/v0.4.6-alpha.1/contrib/quickstart/kratos/email-password/kratos.yml#L40)
or else Kratos will use fallback URLs.

:::
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v0.5/guides/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ below:

```dockerfile
FROM oryd/kratos:latest
COPY contrib/quickstart/kratos/email-password/.kratos.yml /home/ory
COPY contrib/quickstart/kratos/email-password/kratos.yml /home/ory
```

### Examples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ local claims = {
```

Now, enable the Discord provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down Expand Up @@ -198,9 +198,9 @@ local claims = {
```

Now, enable the GitHub provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down Expand Up @@ -269,9 +269,9 @@ local claims = {
```

Now, enable the GitLab provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down Expand Up @@ -342,9 +342,9 @@ local claims = std.extVar('claims');
```

Enable the Microsoft provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
selfservice:
methods:
oidc:
Expand Down Expand Up @@ -425,9 +425,9 @@ local claims = {
```

Now, enable the Twitch provider in the ORY Kratos config located at
`<kratos-directory>/contrib/quickstart/kratos/email-password/.kratos.yml`.
`<kratos-directory>/contrib/quickstart/kratos/email-password/kratos.yml`.

```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
```yaml title="contrib/quickstart/kratos/email-password/kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
methods:
Expand Down
6 changes: 3 additions & 3 deletions docs/versioned_docs/version-v0.5/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -458,11 +458,11 @@ chapters of this documentation.

To get a minimal version of ORY Kratos running, you need to set configuration
values for
[`identity.default_schema_url`](https:/ory/kratos/blob/v0.5.5-alpha.1/contrib/quickstart/kratos/email-password/.kratos.yml#L67)
[`identity.default_schema_url`](https:/ory/kratos/blob/v0.5.5-alpha.1/contrib/quickstart/kratos/email-password/kratos.yml#L75)
and
[`DSN`](https:/ory/kratos/blob/v0.5.5-alpha.1/quickstart.yml#L42).
You should also configure
[`selfservice.flows.*.ui_url`](https:/ory/kratos/blob/v0.5.5-alpha.1/contrib/quickstart/kratos/email-password/.kratos.yml#L40)
[`selfservice.flows.*.ui_url`](https:/ory/kratos/blob/v0.5.5-alpha.1/contrib/quickstart/kratos/email-password/kratos.yml#L24)
or else Kratos will use fallback URLs.

:::
Expand Down Expand Up @@ -503,7 +503,7 @@ If you want to run the quickstart with MySQL, run the following docker-compose:

If you want to change ports for the SelfService-UI, you need to change them in
`quickstart.yml` as well as in the
`contrib/quickstart/kratos/email-password/.kratos.yml` accordingly.
`contrib/quickstart/kratos/email-password/kratos.yml` accordingly.

Note that you also need to change the ports for flows (error, settings,
recovery, verification, logout, login, registration).
Expand Down

0 comments on commit 4d9b6a3

Please sign in to comment.