Deploying grpc service on docker

docker build -t rpc <path_to_dockerfile>
go run cmd/client-grpc/main.go -server=$(host_ip):9090
docker run --env-file env_file --add-host=mysql_server:$(host_ip) -d -p 9090:9090 --name rpc-server rpc:latest
go run cmd/client-grpc/main.go -server=$(host_ip):9090

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Himanshu Chaudhary

Himanshu Chaudhary

Cloud Engineer, Kubernetes, Docker, CI/CD, Golang, gRPC, Micro services, git, Infrastructure as a Service, Storage, Compute, Protobuf, REST.