containers / podman-compose

a script to run docker-compose.yml using podman
GNU General Public License v2.0
4.85k stars 463 forks source link

Add support for multi-line environment files #949

Closed mokibit closed 1 month ago

mokibit commented 1 month ago

This PR adds support for several multi-line environment files. PR fixes issue https://github.com/containers/podman-compose/issues/908. Credit for actual solution goes to @hedayat. I only added tests as code reviewer @p12tic requested.

From https://github.com/containers/podman-compose/pull/909: "TBH, I don't find the part of compose spec which specifies this. Actually, it might not be according to the spec. However, this is what docker compose supports... !"

hedayat commented 1 month ago

@mokibit Thanks for adding the tests, it could take me a while before I come back to the PR. :)