go-proxy icon indicating copy to clipboard operation
go-proxy copied to clipboard

[Feature] Stop / Start containers based on incoming traffic

Open accforgithubtest opened this issue 1 year ago • 1 comments

This is a great project, the auto-detect is such a neat feature ! Other features are nicely designed and implemented too. Thank you for this neat project !.

Would you be open to implementing some features similar to ContainerNursery or Sablier, which spin up containers on demand when there is a user requests for a specific domain, and when there is no traffic, the containers are stopped after a certain amount of time (different config based settings for different containers). A loading page is displayed while the container is starting up, and once the container is up the request is sent to the container. This is a very useful feature for self hosting where the containers do not need to be running all the time, and would fit perfectly into go-proxy to have a neat proxy server that helps run containers in self-hosted environments.

accforgithubtest avatar Mar 18 '24 06:03 accforgithubtest

Amazing idea! That will be in my todo list!

yusing avatar Mar 18 '24 16:03 yusing

Hi, it've been a while, but I still want to inform you that your idea now comes true :)

yusing avatar Sep 19 '24 12:09 yusing

Thank you for the update and really appreciate spending time on implementing this feature. Definitely going to give this a try soon. Cheers !

accforgithubtest avatar Sep 20 '24 03:09 accforgithubtest

Have you tried it yet? The last two versions are a bit buggy, but now it's fixed.

Check out the showcase showcase it's so fun.

yusing avatar Sep 22 '24 20:09 yusing