mirror of
https://github.com/containers/podman-compose.git
synced 2025-05-29 06:37:34 +02:00
19 lines
331 B
YAML
19 lines
331 B
YAML
version: "3"
|
|
|
|
name: my-project-name
|
|
|
|
services:
|
|
env-test:
|
|
image: busybox
|
|
command: sh -c "export | grep ZZ"
|
|
environment:
|
|
ZZVAR1: myval1
|
|
ZZVAR2: 2-$ZZVAR1
|
|
ZZVAR3: 3-$ZZVAR2
|
|
|
|
project-name-test:
|
|
image: busybox
|
|
command: sh -c "echo $$PNAME"
|
|
environment:
|
|
PNAME: ${COMPOSE_PROJECT_NAME}
|