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.

© 2023 - ErnesTech - Privacy