simple-repository / simple-repository-server

A tool for running a PEP-503 simple Python package repository, including features such as dist metadata (PEP-658) and JSON API (PEP-691)
MIT License
18 stars 0 forks source link

main needs a host argument to allow inbound traffic in docker #5

Closed bewinsnw closed 1 week ago

bewinsnw commented 1 month ago

The same as in simple-repository-browser https://github.com/simple-repository/simple-repository-browser/blob/cd75201db43d8716b4022fda49a67b45660d6d16/simple_repository_browser/__main__.py#L30

... as it stands, simple-repository-server launches uvicorn with its default host argument of 127.0.0.1; when run under docker this means it's only listening to traffic from inside the container.

pelson commented 1 week ago

Thanks. Should be fixed by #7. (it'll ship in >0.5.0)