listen

A simple go-micro web service that listens to incoming webhooks and sends out
events over specified topics.
Auto-generated with
micro new gitlab.com/gitmate-micro/listen --namespace=gitmate.micro --type=web
Getting Started
Configuration
- FQDN: gitmate.micro.web.listen
- Type: web
- Alias: listen
Dependencies
Micro services depend on service discovery. The default is consul.
# install consul
brew install consul
# run consul
consul agent -dev
Usage
A Makefile is included for convenience
Build the binary
make build
Run the service
./listen
Build a docker image
make docker
With docker compose
Build the docker-compose network
docker-compose up -d
Releases
The binaries built are delivered via TravisCI using
goreleaser. Latest releases are available
here.
Images / Container Registry
For released images, please visit the GitLab Container Registy for this
repository here.
To run the latest image, pull it with docker
# login to gitlab container registry with your credentials
docker login registry.gitlab.com
# run the container locally exposing port 8000
make run-docker