Code Monkey home page Code Monkey logo

microservices-demo's People

Contributors

dependabot[bot] avatar lucaschen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microservices-demo's Issues

Is the next part out soon ?

Not really an issue but more impatient to know what is to come.

Thank you for open sourcing that knowledge.

Best regards,

Malik

Connection refused error, after making the final changes on docker-compose

Hi
Unable to communicate between services even if we have correct ports and build.

"message": "Invalid URL: \"http://users-service:3001\"/users",

My Docker-compose file

version: "3"
services: 
    api-gateway:
        build:
            context: "."
            dockerfile: "./api-gateway/Dockerfile"
        volumes:
            - ./api-gateway:/opt/app
        depends_on: 
            - users-service
            - ads-service
        environment: 
            - ADS_SERVICE_URI="http://ads-service:3002"
            - USERS_SERVICE_URI="http://users-service:3001"
        ports: 
            - 3000:3000
    users-service:
        build:
            context: "."
            dockerfile: "./users-service/Dockerfile"
        volumes:
            - ./users-service:/opt/app
        environment: 
            - DB_URI=postgres://iqtinaadmin:Coolers_1987@iqtina-db-instance.carmskvcytda.us-east-1.rds.amazonaws.com/iqtinadb
        ports: 
            - 3001:3001
    ads-service:
        build:
            context: "."
            dockerfile: "./ads-service/Dockerfile"
        volumes:
            - ./ads-service:/opt/app
        environment: 
            - DB_URI=postgres://iqtinaadmin:Coolers_1987@iqtina-db-instance.carmskvcytda.us-east-1.rds.amazonaws.com/iqtinadb
        ports: 
            - 3002:3002

It doesn't start

When i run docker-compose up, it says that the babel command is not recognized but I have installed babel globally and in the service to check and it was not also I have checked if in node_modules is @ bablel / core and if it is, if you can help me start I would appreciate the project very much

microservices-demo_users-service_1 exited with code 127
api-gateway_1 | yarn run v1.22.5
api-gateway_1 | $ babel-watch -L src/index.js
api-gateway_1 | /bin/sh: 1: babel-watch: not found
api-gateway_1 | error Command failed with exit code 127.
api-gateway_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
microservices-demo_api-gateway_1 exited with code 127

DNS resolver method is not clear

Hi there!

Was studying your implementation for a while and I've found that it's unclear how you implemented the "Host File" (/etc/hosts) details based on what's in the Readme. Maybe I just haven't noticed it.

Was this project's Docker containers meant to be run as part of a Kubernetes cluster or something? I don't see where the --add-host command comes in for the Docker environment, based on the Compose file or the individual services' Dockerfiles.

Could you help clarify this in the Readme file? Thanks again for posting this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.