Skip to content

advance512/codefresh_test

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published