Giter Club home page Giter Club logo

dsr-microservices-lab's Introduction

1. Build and run the rongen service

The rongen service is a HTTP api for getting Ron Swanson quotes. It also publishes the same quote using zeromq when it gets a request.

In the rongen directory:

docker build -t rongen .

docker run --name rg -p 5000:5000 -p 4444:4444 -t rongen

2. Build and run the frontend

The frontend gets quotes from the rongen service and bolds them for the user.

In the frontend directory:

docker build -t frontend .

docker run --name fe --link rg:rongen -p 5001:5001 -t frontend

2. Build and run the ronlog service

The ronlog service logs every time a message is published by the rongen service, along with the time.

In the ronlog directory:

docker build -t ronlog .

docker run --name rl --link rg:rongen -p 5002:5002 -t ronlog

Credits

Ron Swanson quotes from jamesseanwright/ron-swanson-quotes.

Forked from original example here.

Some Flask stuff from containertutorials.com.

dsr-microservices-lab's People

Contributors

codecraf8 avatar steveupton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

diegoami csoehnel

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.