sablierapp / sablier

Start your containers on demand, shut them down automatically when there's no activity. Docker, Docker Swarm Mode and Kubernetes compatible.
https://sablierapp.dev/
GNU Affero General Public License v3.0
1.36k stars 46 forks source link

Feature request: support for multiple groups for one container #269

Open D-Konopka opened 7 months ago

D-Konopka commented 7 months ago

I am using one database with two http applications that rely on that database. If i could assign my database two groups so it will be turned off only if these two application are turned off.

That feature would be great for all data stores, message queues e.t.c. that can be shared by multiple applications :)

acouvreur commented 6 months ago

Makes sense, this could be achieved using the names option. But it's indeed a current limitation of the group feature. However, I see no issue on that part.

This feature will be added sometime, I can't guarantee you when :)

Feel free to open a PR