Skip to content

Commit

Permalink
Merge pull request #365 from bendechrai/bendechrai/docker-command-typo
Browse files Browse the repository at this point in the history
Added missing backslash to multi-line terminal command
  • Loading branch information
gemanor authored Jun 13, 2024
2 parents b6688ac + da8cf98 commit 0f4eb48
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/api/v2-migration-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ To launch a v2 PDP, simply use the existing command you have for the v1 SDK to p

docker run -p 7766:7000 \
--env PDP_API_KEY=permit_key_abcdefghijklmnopqrstuvwxyz \
--env PDP_DEBUG=True
--env PDP_DEBUG=True \
permitio/pdp-v2:latest

If you're not doing writes through the SDKs, then aside from upgrading to the new v2 SDKs and pointing them at the new v2 PDP, there's nothing you need to do. The permit.check call and the module initialization is exactly the same as in v1.
Expand Down
4 changes: 2 additions & 2 deletions docs/how-to/deploy/deploy-to-production.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Run the container & replace the `PDP_API_KEY` environment variable with your API
docker run -it \
-p 7766:7000 \
--env PDP_API_KEY=<YOUR_API_KEY> \
--env PDP_DEBUG=True
--env PDP_DEBUG=True \
permitio/pdp-v2:latest
```

Expand Down Expand Up @@ -57,7 +57,7 @@ docker run -it \
-p 7766:7000 \
-p 8181:8181 \
--env PDP_API_KEY=<YOUR_API_KEY> \
--env PDP_DEBUG=True
--env PDP_DEBUG=True \
permitio/pdp-v2:latest
```

Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/use-audit-logs/debug-mode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Here's an example of such a PDP deployment:
docker run -it \
-p 7766:7000 \
--env PDP_API_KEY=<YOUR_API_KEY> \
--env PDP_DEBUG=True
--env PDP_DEBUG=True \
permitio/pdp-v2:latest
```

Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/gateways/kong.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To run the PDP, you can use the following command:
docker run \
⁠ -p 7766:7000 \
⁠ --env PDP_API_KEY=YOUR_PERMIT_API_KEY \
--env PDP_DEBUG=True
--env PDP_DEBUG=True \
⁠ --env PDP_KONG_INTEGRATION=true \
⁠ permitio/pdp-v2:latest
```
Expand Down

0 comments on commit 0f4eb48

Please sign in to comment.