Flag service with fqdn go.micro.srv.flag Flag API with fqdn go.micro.api.flag
Data is stored in Elasticsearch.
Get Micro Micro
go get github.com/micro
This microservice needs elatiscsearch service up and running.
go get github.com/Rakanixu/elasticsearch
make
docker-compose -f docker-compose-build.yml up
Now we've got Consul, Elasticsearch (DB), micro api, micro web, elasticsearch-srv and elasticsearch-api up and running.
$ go run srv/main.go
$ go run api/main.go
Compile Go binaries and build docker image.
make
Run docker container:
docker-compose -f docker-compose-build.yml up