Docker Community Forums

Share and learn in the Docker community.

Docker-Compose Circular dependency

Hi All!

I have an issue with docker-compose because i have a circular dependency between:

ERROR: Circular dependency between application-a and application-b and postgresql.

The problem it’s because the application-a calls a rest service of the application-b and vice-versa and both has a connection to the database. Exist a different way to subscribe to discovery or related those images without the links?


I upgrade the docker-compose to V2.
Using this url: