Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add \ to the docker command #366

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -21,7 +21,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 All @@ -48,7 +48,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