| 1 | version: "3" |
| 2 | volumes: |
| 3 | web1_vol: |
| 4 | web2_vol: |
| 5 | services: |
| 6 | web1: |
| 7 | image: podman-compose-up-down-test |
| 8 | build: . |
| 9 | hostname: web1 |
| 10 | command: ["dumb-init", "sleep", "infinity"] |
| 11 | volumes: |
| 12 | - web1_vol:/mnt/test/ |
| 13 | web2: |
| 14 | image: docker.io/library/debian:up-down-test |
| 15 | hostname: web2 |
| 16 | command: ["sleep", "infinity"] |
| 17 | volumes: |
| 18 | - web2_vol:/mnt/test/ |
| 19 |