| 1 | services: |
| 2 | app: |
| 3 | image: nopush/podman-compose-test |
| 4 | command: ["/bin/busybox", "sh", "-c", "env | grep ZZVAR3"] |
| 5 | # 'env_file:' section is not used, so .env file is searched in the same directory as compose.yml |
| 6 | # file |
| 7 | environment: |
| 8 | # this is short syntax: podman-compose takes only this variable value from '.env' file and |
| 9 | # sends it to container environment |
| 10 | - ZZVAR3 |