Docker compose doesn't point to default compose file in newer versions

Hello,

In the earlier version of docker compose 2.14.x, the docker compose by default points to docker-compose.yml file, but post new release 2.24.x the compose is no longer pointing to docker-compose.yml, is this a bug or an enhancement docker came up with. This is impacting the existing automations. Any solutions for this ?

I don’t know if it was removed intentionally, but Compose v2 uses supports compose.yml too. If the other was kept only for compatibility reason, the new version could stop support it and you can rename your compose file to remove the prefix.