Difference between revisions of "Template:Services.deploy.resources"

From wikieduonline
Jump to navigation Jump to search
(Created page with " services: frontend: image: example/webapp deploy: resources: limits: cpus: '0.50' memory: 50M pids: 1...")
 
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
   frontend:
 
   frontend:
 
     image: example/webapp
 
     image: example/webapp
     deploy:
+
     [[Docker compose: deploy:|deploy:]]
       resources:
+
       [[Docker-compose: services.deploy.resources|resources:]]
 
         [[limits:]]
 
         [[limits:]]
 
           cpus: '0.50'
 
           cpus: '0.50'

Latest revision as of 15:35, 25 October 2024

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

Advertising: