Skip to content

dmportella/docker-golangweb-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-golangweb-simple

Simple golang web site using run on KUBERNETES or RANCHER and other docker management platforms.

Build Status

DOCKERHUB

dockeri.co

GOLANGWEB SIMPLE

Simple Hello World golang site.

Built for testing kubernetes and rancher instances.

Normal route

Web site should be available on binding :8080.

Building

The shell file build.sh will run go build and it will build and run the docker image.

$ ./build.sh 0.0.0

Note that the above line will run the container elsewell, to avoid this you can set a ENV variable (this is for TRAVIS CI)

$ TRAVIS=true ./build.sh 0.0.0

Builds docker image and tags it.

$ ./build-image.sh 0.0.0

  • Installs godep and other setup things

$ ./setup.sh

ENVIRONMENT

BINDING default = :8080