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

support port-forwarding ranges with docker-compose #424

Open
mikedep333 opened this issue Feb 7, 2023 · 1 comment
Open

support port-forwarding ranges with docker-compose #424

mikedep333 opened this issue Feb 7, 2023 · 1 comment
Labels

Comments

@mikedep333
Copy link
Member

It turns out that although podman-compose does not support it, docker-compose can forward dynamic port ranges to a port on multiple containers of the same service.

So ports 24716 through 24816 (on the host) can be forwarded to 101 pulp_content containers, all listening on port 24816.

Similarly, 24817 through 24917 (on the host) can be forwarded to 101 pulp_content containers, all listening on port 24817.

podman-compose will ignore this syntax without erroring.

mikedep333 added a commit to mikedep333/pulp-oci-images that referenced this issue Feb 7, 2023
mikedep333 added a commit to mikedep333/pulp-oci-images that referenced this issue Feb 7, 2023
@mikedep333
Copy link
Member Author

This is low-priority because there are no known actual users who have a need for the reverse proxy outside of the docker compose.

The draft PR was sufficient for @bmbouter 's performance testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant