bootstrapping-microservices / chapter-4

Code and examples for chapter 4 of Bootstrapping Microservices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker-compose build issue

argimenes opened this issue · comments

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

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.

@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.

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 :)