No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
microservice1
microservice2
README.md
bad_raml.raml
build.sh
docker-compose.yml
good_raml.raml

README.md

Wat iz?

An example composition of 2 Go microservices (using labstack/echo as the RESTful framework) that are Dockerized, for the intent of loading to Codefresh.

Requirements:

Make sure Docker (and optionally Docker Compose) are properly installed.

NOTE: This was built and tested on an Ubuntu Linux machine, so no Docker Machine. If you're using OSX/Windows, you might need to modify the build scripts.

How to run:

HACK: Since Codefresh doesn't like several Dockerfiles in one repo (legit), you need to edit the Dockerfiles in microservice1/ and microservice2/ to make this work locally. Modify the line: ADD microservice?/microservice?.go /go/src/microservice To: ADD microservice?.go /go/src/microservice

Just execute ./build.sh and if all works well, execute ./run-dc.sh to create the two microservice containers