Open
Conversation
Author
Pros
Cons
|
Add a `Dockerfile` and a `docker-compose.yaml` to allow for easier spin-up and development of a sandboxed environment Uses `uv` in lieu of `pip` for installing Python packages because `uv`s installer is (much) faster and has a (much) better solver fix: update dependency versions Move away from Hatch's "most-compatible version" notation to using plain minimum-version notation with explicit upper-bounds where needed to mitigate breaking changes
Author
|
So... The service attempts to bind to on port 5000 on the host, because that is the default value of the Flask development server and I never bothered to change it, however this will NOT run on a Mac "out of the box", because the Airplay Receiver also binds to that port. I missed this because, like most people that ever do any amount of Flask dev, I turned off the Airplay Receiver years ago and forgot about it. This should move the exposed port to something unused, e.g., 5888. |
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.
Add a
Dockerfileand adocker-compose.yamlto allow for easier spin-up and development of a sandboxed environmentUses
uvin lieu ofpipfor installing Python packages becauseuvs installer is (much) faster and has a (much) better solverfix: update dependency versions
Move away from Hatch's "most-compatible version" notation to using plain minimum-version notation with explicit upper-bounds where needed to mitigate breaking changes