Skip to content

jweissig/76-consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Consul Demo

Demo app to grab Service instances + KV data from Consul.

#76 - Consul (screencast)

Build go app for linux (from mac)
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' -o web ./main.go
Build/push container
docker build -t jweissig/consul-demo .
docker push jweissig/consul-demo
Run container

https://hub.docker.com/r/jweissig/consul-demo

docker run -p 5005:5005 --rm jweissig/consul-demo
Connect to localhost

http://localhost:5005/

About

Consul Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published