| 1 |
version: "3.7" |
| 2 |
services: |
| 3 |
web: |
| 4 |
image: nopush/podman-compose-test |
| 5 |
command: ["dumb-init", "/bin/busybox", "httpd", "-f", "-h", "/etc/", "-p", "8000"] |
| 6 |
tmpfs: |
| 7 |
- /run |
| 8 |
- /tmp |
| 9 |
healthcheck: |
| 10 |
test: ["CMD", "wget", "-qO-", "http://localhost:8000/hosts"] |
| 11 |
interval: 30s |
| 12 |
timeout: 5s |
| 13 |
retries: 3 |
| 14 |
sleep: |
| 15 |
image: nopush/podman-compose-test |
| 16 |
command: ["dumb-init", "/bin/busybox", "sh", "-c", "sleep 3600"] |
| 17 |
depends_on: |
| 18 |
web: |
| 19 |
condition: service_healthy |
| 20 |
tmpfs: |
| 21 |
- /run |
| 22 |
- /tmp |