bootstrapping-microservices / chapter-4

Code and examples for chapter 4 of Bootstrapping Microservices
MIT License
11 stars 28 forks source link

Docker-compose build issue #10

Open argimenes opened 2 years ago

argimenes commented 2 years ago

When I try to execute "docker-compose up --build" in the chapter-4/example-2 project I get the following build error. I wasn't sure if it was related to the file extension ".yml" so I tried changing it to ".yaml" but it had no effect. I can't see any errors in the file or folder names.

image

abhinavgurung commented 2 years ago

I am working on example 2 of chapter 4 as well. did you have to make any changes to index.js or did it work as shown in the book. the function getBlobProperties() is throwing error for me. could you share some info.

ashleydavis commented 2 years ago

@argimenes Just letting you know I've started working towards a 2nd edition of Bootstrapping Microservices so I'm going to take this feedback into account.

If you have other feedback please reach out to me on ashley@codecapers.com.au.

ThePixelMixery commented 2 years ago

I am working on example 2 of chapter 4 as well. did you have to make any changes to index.js or did it work as shown in the book. the function getBlobProperties() is throwing error for me. could you share some info.

When I try to execute "docker-compose up --build" in the chapter-4/example-2 project I get the following build error. I wasn't sure if it was related to the file extension ".yml" so I tried changing it to ".yaml" but it had no effect. I can't see any errors in the file or folder names.

image

That error comes up when you have a container already running under the described names, just kill in PS or docker desktop :)