Skip to content
Consul Demo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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

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


You can’t perform that action at this time.