Project-wide CPU / Memory Limits (Aggregate Resource Quota)
What problem will this feature address?
source limit for an entire project.
For projects with multiple services such as an application, database, Redis, workers, etc., this makes resource management harder. Each service needs to be limited individually, even when the main goal is simply to prevent the whole project from exceeding a certain amount of CPU or RAM.
This is especially useful when hosting multiple clients/projects on the same server, where each project should have a defined resource budget.
Describe the solution you'd like
Allow setting optional project-wide CPU and memory limits. For example:
Project A: 4 GB RAM, 2 CPUs Project B: 8 GB RAM, 4 CPUs
All services inside the project could dynamically share those resources, but their combined usage should not exceed the configured project limit.
Individual service limits could still remain available as an optional additional restriction (There's not much conflict in there, Just check if the limits per service doesn't exceed the project wide limits..)
Describe alternatives you've considered
Maybe manually setting CPU and memory limits for every service divded approx to each service? Like each service get's 1/number of services?
Another option would be managing this manually outside Dokploy using Docker/cgroup configuration, but that adds complexity and makes the setup harder to maintain through the Dokploy panel.
Additional context
There's a confusion on the implmentation thou.. Managing cross server would be hectic, no?
Will you send a PR to implement it?
Maybe, need help
Source: Dokploy/dokploy