Mohak Puri
May 31, 2019 · 1 min read

Hi in case you want to to have you Nodejs server in a container, here are the following things you need to do

create a docker-compose.yml with envoy and node docker file

version: '3'

change the following line in envoy.yaml

hosts: [{ socket_address: { address: host.docker.internal, port_value: 8080 }}]


hosts: [{ socket_address: { address: node-app, port_value: 8080 }}]

I have not tested this but I think this should be enough. Let me know if I missed something.

Mohak Puri

Written by

Product Engineer GO-JEK | GSoC 2018 @openMF | Mobile | Backend | mohak1712 everywhere

More From Medium

More from Mohak Puri

More from Mohak Puri

Top on Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade