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

[DOCUMENTATION] Clarify getting started documentation regarding port number used in pre-built Docker image. #313

Conversation

alexsherstinsky
Copy link
Contributor

@alexsherstinsky alexsherstinsky commented Mar 7, 2024

What does this PR do?

Clarifies documentation: The pre-built Docker image uses port 80 (which is different than the default port of 3000).

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Was this discussed/approved via a Github issue or the discord / slack channel? Please add a link
    to it if that's the case.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

README.md Outdated
@@ -82,6 +82,8 @@ docker run --gpus all --shm-size 1g -p 8080:80 -v $volume:/data \
ghcr.io/predibase/lorax:latest --model-id $model
```

Please note that the LoRAX server in our pre-built Docker image is configured to listen on port 80 (instead of on the default port number, which is 3000).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like to keep quickstart guides very short and to the point to avoid too much cognitive load. Can we add this detail to the Docker section of the docs: https://predibase.github.io/lorax/getting_started/docker/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tgaddair This has been corrected, and here is how it looks in mkdocs.
Screenshot 2024-03-08 at 11 10 42

Thank you.

@tgaddair tgaddair merged commit eebea85 into main Mar 8, 2024
@tgaddair tgaddair deleted the documentation/alexsherstinsky/getting_started/clarify_use_of_non_default_port_number_in_pre_built_docker_image-2024_03_07-0 branch March 8, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants