-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Request: Port ranges for entrypoints #1677
Comments
Say! Don't mean to put pressure on anyone, but could anyone evaluate how viable this is? It's not urgent by any means but it would be extremely helpful. Thanks! |
calling out @emilevauge for some initial plausibility review. :) |
@Kenji-K not sure to understand what you want to achieve here. Traefik will listen on 150 ports, then what? |
@emilevauge Not sure I follow. I need to direct traffic from 150 ports to a single application in a docker swarm. I've been looking for a friendly syntax to do so but haven't been able to find an answer either on Slack or Stack Overflow. |
@Kenji-K do your container exposes 150 ports? Do you want to bind these 150 ports to Traefik? |
@emilevauge Pretty much. Traccar exposes 150 ports and I am deploying it in docker swarm, together with other apps, so I want to route traffic in this swarm using traefik. |
I'll check this sometime this week. Thanks. |
I'm also fooling around with traccar and have the same requirement. If traefik cannot define a port range then I need to modify the traccar docker image to include SSL termination. |
Just to expand on the port range need for traccar, this is a snippet of how I start a traccar image:
traefik then knows to forward https://tracking.mydomain.tld to port 8082 but the traccar clients still communicate via HTTP only with the traccar server via Ports 5000-5150 tcp/udp I hope this explains what exactly the original poster and myself are trying to solve. |
Hi! I'm Træfiker 🤖 the bot in charge of tidying up the issues. I have to close this one because of its lack of activity 😞 Feel free to re-open it or join our Slack workspace for more community #support. |
Here to make a request, hopefully it isn't to complicated.
I have to expose about 150 ports for a single application (traccar). The issue is, there is apparently no syntax for port ranges, so I would have to list each entrypoint individually
And from there even reference every entryPoint in the frontends. Could there instead be a way to specify a port range like so?
The text was updated successfully, but these errors were encountered: