ItsEcholot / ContainerNursery

Puts Docker Containers to sleep and wakes them back up when they're needed
MIT License
94 stars 6 forks source link

Proxy without a container #16

Open everythingguy opened 2 years ago

everythingguy commented 2 years ago

The user should be able to proxy a host and port without setting a timeout and container name. Sometimes we simply need a proxy and do not want a container to start and shut down.

ItsEcholot commented 2 years ago

This would be easy to implement but do we want to promote this application being used as a simple reverse proxy? Because it's a really bad reverse proxy compared to Nginx, Caddy, Traefik, etc. Not only in performance but also in features. To me this simply isn't the aim of this project, which is also why I encourage people to use an additional real reverse proxy in front of ContainerNursery. What do you think?

everythingguy commented 2 years ago

This proxy provides simplicity, with three keywords in a yaml file you can proxy a website for a quick test. While other solutions require a whole configuration file for a single website. I agree with you that it should not be used for a production website. But for developers looking to quickly test a staged website, it would be very useful. I work with nodejs and express alot and some of my testing needs to be when the site has its domain name and ports forwarded to standard ports such as 80 and 443.