| 1 |
version: "3" |
| 2 |
services: |
| 3 |
container1: |
| 4 |
image: nopush/podman-compose-test |
| 5 |
ports: "9001:9001" |
| 6 |
command: ["/bin/bash", "-c", "echo test1; sleep infinity"] |
| 7 |
container2: |
| 8 |
image: nopush/podman-compose-test |
| 9 |
restart: always |
| 10 |
ports: "9002:9002" |
| 11 |
command: ["/bin/bash", "-c", "echo test2"] |