Difference between revisions of "Docker compose: deploy:"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
Official example:
 
Official example:
<pre>
 
services:
 
  frontend:
 
    image: example/webapp
 
    deploy:
 
      resources:
 
        limits:
 
          cpus: '0.50'
 
          memory: 50M
 
          pids: 1
 
        reservations:
 
          cpus: '0.25'
 
          memory: 20M
 
</pre>
 
  
 +
services:
 +
  frontend:
 +
    [[image]]: example/webapp
 +
    deploy:
 +
      [[resources:]]
 +
        limits:
 +
          cpus: '0.50'
 +
          memory: 50M
 +
          pids: 1
 +
        reservations:
 +
          cpus: '0.25'
 +
          memory: 20M
  
{{docker-compose}}
+
== Related ==
 +
* [[services.deploy.resources]]
 +
 
 +
== See also ==
 +
* {{docker-compose}}

Latest revision as of 15:33, 25 October 2024

Advertising: