File: docker-compose.yml

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 (25 lines) | stat: -rw-r--r-- 523 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
version: "3"
services:
    web1:
      build: ./context
      image: my-busybox-httpd
      ports:
      - 8080:80
    web2:
      build:
        context: ./context
        dockerfile: Dockerfile-alt
        labels:
            mykey: myval
        args:
            buildno: 2
            httpd_port: 8000
      image: my-busybox-httpd2
      ports:
      - 8000:8000
    test_build_arg_argument:
      build:
        context: ./context
        dockerfile: Dockerfile-alt
      image: my-busybox-httpd2
      command: env