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

Refactor Traefik entrypoint menu to be dynamic with add / delete system. #216

Open
EnigmaCurry opened this issue May 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@EnigmaCurry
Copy link
Owner

EnigmaCurry commented May 23, 2024

Right now its a static list of entrypoints

Not wanting to break existing config, I propose creating a new variable TRAEFIK_EXTRA_ENTRYPOINTS:

TRAEFIK_EXTRA_ENTRYPOINTS=[[ENTRYPOINT_NAME, ENTRYPOINT_ADDRESS, ENTRYPOINT_PORT], ... ]

and to augment the config interface to use a wizard to manage the custom entrypoint names, addresses, ports.

This would help make apps like Gitea/Forgejo instantiable, which have SSH port mappings, which makes instantiation tricky. Traefik does not know how to proxy SSH, but it does know how to proxy TCP, but this means that each instance requires its own dedicated port, no sharing. Having the ability to create new entrypoints in the traefik config, and then referencing those names in our app (APP_TRAEFIK_ENTRYPOINT) means that are able to keep using the few TCP middlewares that Traefik offers, like IP address filtering. Essentially this only uses Traefik as a firewall, but it does keep all of the config inside of our .env file, which is rule 1 of this project.

@EnigmaCurry EnigmaCurry added the enhancement New feature or request label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant