Difference between revisions of "Docker-compose: services.deploy.resources"

From wikieduonline
Jump to navigation Jump to search
Line 19: Line 19:
 
  [[services.deploy]].resources
 
  [[services.deploy]].resources
  
 
+
== See also ==
{{docker-compose}}
+
* {{docker-compose}}

Revision as of 15:31, 25 October 2024

services:
  frontend:
    image: example/webapp
    deploy:
      resources:
        limits:
          cpus: '0.50'
          memory: 50M
          pids: 1
        reservations:
          cpus: '0.25'
          memory: 20M


Related

services.deploy.resources

See also

Advertising: