mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-12 09:41:16 +01:00
26 lines
523 B
YAML
26 lines
523 B
YAML
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
|