note - mtanmaya/poc-docker-compose GitHub Wiki

Welcome to the docker-compose notes!

docker-compose ps does not list the processes.
ERROR:
Service 'xxx' depends on service 'yyy' which is undefined.
Answer:
if multiple docker compose iml files was used to create the services then while listing those them through docker-compose command, you need to pass all of those .yml file as an argument as below.
docker-compose -f docker-compose.yml -f docker-compose-rabbitmq.yml -f docker-compose-prometheus.yml ps \

flavor of ps command:
docker-compose -f docker-compose.yml -f docker-compose-rabbitmq.yml -f docker-compose-prometheus.yml ps --services
docker-compose -f docker-compose.yml -f docker-compose-rabbitmq.yml -f docker-compose-prometheus.yml ps --services --filter "status=running" \