mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-28 17:49:07 +01:00
25 lines
498 B
YAML
25 lines
498 B
YAML
version: "3.7"
|
|
services:
|
|
web:
|
|
image: busybox
|
|
command: ["/bin/busybox", "httpd", "-f", "-h", "/etc/", "-p", "8000"]
|
|
tmpfs:
|
|
- /run
|
|
- /tmp
|
|
sleep:
|
|
image: busybox
|
|
command: ["/bin/busybox", "sh", "-c", "sleep 3600"]
|
|
depends_on: "web"
|
|
tmpfs:
|
|
- /run
|
|
- /tmp
|
|
sleep2:
|
|
image: busybox
|
|
command: ["/bin/busybox", "sh", "-c", "sleep 3600"]
|
|
depends_on:
|
|
- sleep
|
|
tmpfs:
|
|
- /run
|
|
- /tmp
|
|
|