I start to work with a new project using Docker and I can see there is no
docker-compose.yml file there, but a few files like
docker-compose.myname2.yml instead. Trying to run
docker-compose up I get an error:
ERROR: Can't find a suitable configuration file in this directory or any parent. Are you in the right directory? Supported filenames: docker-compose.yml, docker-compose.yaml
So I wonder if that’s possible for a Docker project to work without the
docker-compose.yml file and if it is, what conditions should be met. Maybe that’s the matter of some specific version or environment?
Source: Docker Questions