The Compose file './docker-compose.yml' is invalid because

Question: What is going on with the docker-compose.yml file? it is throwing an error saying 
" The Compose file './docker-compose.yml' is invalid because: services.api.volumes value [{'type': 'bind', 'source': }]
has non-unique elements".

Login to See the Rest of the Answer

Answer: Take a closer look, there is a chance that you have two same entries in the Volume Bind directive. Check and remove one entry to make sure the Bind Entries are unique.

If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

© 2023 - ErnesTech LLC- Privacy