mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-03 21:33:53 +01:00
20 lines
338 B
YAML
20 lines
338 B
YAML
version: '3'
|
|
services:
|
|
web1:
|
|
image: busybox
|
|
env_file: ./12.env
|
|
labels:
|
|
- l1=v2
|
|
- l2=v2
|
|
environment:
|
|
mykey1: myval2
|
|
mykey2: myval2
|
|
|
|
web2:
|
|
image: busybox
|
|
command: busybox httpd -h /var/www/html/ -f -p 8002
|
|
volumes:
|
|
- ./2.env:/var/www/html/index.txt:z
|
|
env_file: ./2.env
|
|
|