Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

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