fix(docker): bind quickstart port to localhost#4391
Open
cosmickdd wants to merge 2 commits into
Open
Conversation
Contributor
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Archestra Platform Docker quickstart commands to bind the Admin UI port (3000) to localhost (127.0.0.1) by default, reducing accidental exposure of the UI on the local network.
Changes:
- Updated Docker run examples to use
-p 127.0.0.1:3000:3000for the UI port across quickstart/user-facing docs. - Added a brief note in the quickstart page explaining the localhost binding behavior.
- Kept API port mapping (9000) unchanged in the examples.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates the main Docker quickstart example to bind UI port 3000 to localhost. |
| docs/pages/platform-vercel-ai-example.md | Updates the example Docker run command to bind UI port 3000 to localhost. |
| docs/pages/platform-quickstart.md | Updates Docker commands (bash + PowerShell) to bind UI port 3000 to localhost; adds an explanatory note. |
| docs/pages/platform-pydantic-example.md | Updates the Docker run command to bind UI port 3000 to localhost. |
| docs/pages/platform-deployment.md | Updates Docker deployment examples to bind UI port 3000 to localhost (but needs follow-up doc consistency fix). |
Comment on lines
29
to
33
| ```bash | ||
| docker pull archestra/platform:latest; | ||
| docker run -p 9000:9000 -p 3000:3000\ | ||
| docker run -p 9000:9000 -p 127.0.0.1:3000:3000\ | ||
| -e ARCHESTRA_QUICKSTART=true \ | ||
| -v /var/run/docker.sock:/var/run/docker.sock \ |
Contributor
Author
There was a problem hiding this comment.
I updated the deployment note to make the localhost default and the LAN opt-in path explicit.
Comment on lines
+60
to
63
| > **Need access from another device on your network?** Replace `127.0.0.1:3000:3000` with `0.0.0.0:3000:3000` in the Docker command. | ||
|
|
||
| > This exposes the Admin UI to your local network, so only do this if you intentionally want it reachable beyond localhost. | ||
|
|
| ```bash | ||
| docker pull archestra/platform:latest; | ||
| docker run -p 9000:9000 -p 3000:3000\ | ||
| docker run -p 9000:9000 -p 127.0.0.1:3000:3000\ |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
Fixes #4388
Started with quickstart/docs scope — happy to expand if you'd like this applied elsewhere.