This commit allows compose file to directly use environment variable values in "environment:" section when variables were set in `.env` file. This functionality was missing, as docker-compose supports both: short and variable interpolation syntax forms: environment: - FOO and environment: - FOO=${FOO} Relevant docker-compose documentation: https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/ podman-compose is more compatible with docker-compose after this change. Signed-off-by: Monika Kairaityte <monika@kibit.lt> |
||
---|---|---|
.. | ||
.env | ||
container-compose.env-file-flat.yaml | ||
container-compose.env-file-obj-optional-exists.yaml | ||
container-compose.env-file-obj-optional-missing.yaml | ||
container-compose.env-file-obj.yaml | ||
container-compose.load-.env-in-project.yaml | ||
container-compose.short_syntax.yaml | ||
container-compose.yaml |