mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 21:10:30 +01:00
[Feature] Stop / Start containers based on incoming traffic #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @accforgithubtest on GitHub (Mar 18, 2024).
Originally assigned to: @yusing on GitHub.
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.
@yusing commented on GitHub (Mar 18, 2024):
Amazing idea! That will be in my todo list!
@yusing commented on GitHub (Sep 19, 2024):
Hi, it've been a while, but I still want to inform you that your idea now comes true :)
@accforgithubtest commented on GitHub (Sep 20, 2024):
Thank you for the update and really appreciate spending time on implementing this feature.
Definitely going to give this a try soon. Cheers !
@yusing commented on GitHub (Sep 22, 2024):
Have you tried it yet? The last two versions are a bit buggy, but now it's fixed.
Check out the showcase

it's so fun.