File: docker-compose.yaml

package info (click to toggle)
podman-compose 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,004 kB
  • sloc: python: 10,946; sh: 107; javascript: 48; makefile: 13
file content (30 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: "3"
services:
    ulimit1:
      image: ulimit_test
      command: ["ulimit.sh" ]
      ulimits: nofile=1001
      build: 
        context: ./
        dockerfile: Dockerfile
    ulimit2:
      image: ulimit_test
      command: ["ulimit.sh" ]
      ulimits:
      - nproc=1002:2002
      - nofile=1002
      build:
        context: ./
        dockerfile: Dockerfile
    ulimit3:
      image: ulimit_test
      command: [ "ulimit.sh" ]
      ulimits:
        nofile: 1003
        nproc:
          soft: 1003
          hard: 2003
      build:
        context: ./
        dockerfile: Dockerfile