thangchung / go-coffeeshop

☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment
MIT License
4.01k stars 402 forks source link

ERROR: .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose-full.yaml' #23

Closed huynhtruc0309 closed 1 year ago

huynhtruc0309 commented 1 year ago

I jumped into .devcontainer, then ran

> docker-compose -f docker-compose-full.yaml build

I got this error

ERROR: .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose-full.yaml'

I tried to cd .. and run above command again then got

ERROR: The Compose file './docker-compose-full.yaml' is invalid because:
services.barista.depends_on contains an invalid type, it should be an array
services.counter.depends_on contains an invalid type, it should be an array
services.kitchen.depends_on contains an invalid type, it should be an array

What did it go wrong? Thank you.

thangchung commented 1 year ago

Fixed in the latest version in the main branch at https://github.com/thangchung/go-coffeeshop/commit/22d33190a0cf81630878e47bafae2de7c0abb783. Feel free to re-open it if there are still things else to fix.

huynhtruc0309 commented 1 year ago

Hi @thangchung I got make: *** No rule to make targetdocker-compose'. Stop.after runningmake docker-compose`. How to fix it? Thank you very much