Skip to content

harbur/guestbook-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guestbook Demo

This guestbook demo is an adaption of the guestbook of Kubernetes, so that it is isolated and run with docker-compose.

Build

use captain to build the project:

captain build

or docker itself:

docker run --rm -v $(pwd)/guestbook-go:/go/src/myapp -it -w /go/src/myapp golang:1.5.2 make
docker build -t guestbook guestbook-go

Run

docker-compose up -d

open http://DOCKER_HOST_IP:3000/