feat: support for compose.yml#994
Conversation
nicolas-grekas
left a comment
There was a problem hiding this comment.
It might be too early to generate composer.yaml by default. New docker versions still support docker-compose.yaml, isn't it? I think we should plan for a smoother transition period.
|
Alternatively, can we detect the version of docker that is in use? |
Docker Compose support Also, it's weird to generate files on new projects (existing projects will continue working and are unaffected) that are marked as legacy by the upstream vendor.
This should be possible, but is it worth it? Starting a new project with an EOLed version of Docker Compose looks very weird. |
cb72c56 to
5c98476
Compare
|
Thank you @dunglas. |
Docker Compose now recommends using a definition file named
compose.yamland also supportscompose.yml(the legacydocker-compose.ya?mlare still supported): https://docs.docker.com/compose/compose-file/03-compose-file/This PR adds support for
compose.ya?mlfile to Flex, and changes the name of the generated file tocompose.yaml, according to Docker best practices.Closes #992.