docs: add mcpproxy-rest-auth volume to Docker run commands#22
Merged
Conversation
Persist OAuth tokens for REST authorization_code providers across container restarts by mounting the .rest-auth cache, matching the docker-compose volume. Added to both the persistent-caches and home-directory run examples with a short explanatory note. https://claude.ai/code/session_01L9uGbkXi2RwUmBQHdVaNoZ
There was a problem hiding this comment.
Pull request overview
Updates the Docker run documentation to persist the REST OAuth token cache across container restarts, aligning the CLI docker run examples with the existing docker-compose.yml volume usage.
Changes:
- Mounts a new named volume
mcpproxy-rest-authto/app/.rest-authin the “persistent caches and artefacts” Docker run example. - Mounts the same volume in the “persistent home directory” Docker run example.
- Adds a short note explaining what the
mcpproxy-rest-authvolume is for and when it can be omitted.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+382
to
+384
| The `mcpproxy-rest-auth` volume persists OAuth tokens for REST `authorization_code` | ||
| providers (see [REST / OAuth providers](#rest--oauth-providers)) so you authorize once | ||
| rather than on every fresh container. Omit it if you don't use REST OAuth providers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Persist OAuth tokens for REST authorization_code providers across container restarts by mounting the .rest-auth cache, matching the docker-compose volume. Added to both the persistent-caches and home-directory run examples with a short explanatory note.
https://claude.ai/code/session_01L9uGbkXi2RwUmBQHdVaNoZ