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

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
     deploy:
 
     deploy:
 
       resources:
 
       resources:
         limits:
+
         [[limits:]]
 
           cpus: '0.50'
 
           cpus: '0.50'
 
           memory: 50M
 
           memory: 50M
 
           pids: 1
 
           pids: 1
         reservations:
+
         [[reservations:]]
 
           cpus: '0.25'
 
           cpus: '0.25'
 
           memory: 20M
 
           memory: 20M

Revision as of 15:31, 25 October 2024

Advertising: