Exploration gRPC project with Microservice architecture. written in golang.
Stack used - grpc, protobuf, docker, go-micro, Makefile, docker-compose, mongodb, postgresql.
Container management system,
- consignments
- users & authentication
- vessels
- client cli
- Build all the microservices using make file in respective dir
make build
- Then Build docker with docker-compose
docker-compose build
- Run all the microservices using docker-compose
docker-compose up
Build Info
- To build inside gopath use GO111MODULE=on environment variable; to build outside gopath unset GO111MODULE or set to GO111MODULE=auto.
- To run on alpine linux container build go-binary with CGO_ENABLED=0 flag set.