{"id":18421146,"url":"https://github.com/akarsh/nodejs-envoy-proxy","last_synced_at":"2026-05-08T05:37:37.390Z","repository":{"id":233190489,"uuid":"770035251","full_name":"akarsh/nodejs-envoy-proxy","owner":"akarsh","description":"how to use Envoy Proxy with a Node.js web server inside a Docker container","archived":false,"fork":false,"pushed_at":"2024-03-10T18:34:19.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T07:17:46.931Z","etag":null,"topics":["docker","docker-compose","envoy","expressjs","nodejs"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akarsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-10T18:34:00.000Z","updated_at":"2024-03-10T18:35:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"afb800a5-4fef-4784-bcd0-4b11cbd28f16","html_url":"https://github.com/akarsh/nodejs-envoy-proxy","commit_stats":null,"previous_names":["akarsh/nodejs-envoy-proxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fnodejs-envoy-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fnodejs-envoy-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fnodejs-envoy-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarsh%2Fnodejs-envoy-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akarsh","download_url":"https://codeload.github.com/akarsh/nodejs-envoy-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703984,"owners_count":21148261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","envoy","expressjs","nodejs"],"created_at":"2024-11-06T04:24:32.237Z","updated_at":"2026-05-08T05:37:32.371Z","avatar_url":"https://github.com/akarsh.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Envoy Proxy\n\nThis project demonstrates how to use Envoy Proxy with a Node.js web server inside a Docker container.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n   - [IP_ADDRESS](#ip_address)\n- [License](#license)\n\n## Introduction\n\nThe Node.js Envoy Proxy project showcases the integration of Envoy Proxy with a Node.js web server running in a Docker container. Envoy Proxy is used as a sidecar proxy to handle incoming traffic and forward requests to the Node.js server. This setup provides features like load balancing, routing, and service discovery.\n\n## Features\n\n- Integration of Envoy Proxy with Node.js web server\n- Dockerized deployment for easy setup and scalability\n- Load balancing and routing capabilities provided by Envoy Proxy\n\n## Installation\n\nTo run the Node.js Envoy Proxy project locally, follow these steps:\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/akarsh/nodejs-envoy-proxy.git\n   cd nodejs-envoy-proxy\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n3. Build the Docker images:\n\n   ```bash\n   docker-compose build\n   ```\n\n## Usage\n\nAfter installation, you can run the project using Docker Compose:\n\n```bash\ndocker-compose up\n```\n\nOnce the containers are up and running, you can access the Node.js web server via http://localhost:3000 and the Envoy Proxy at http://localhost:8080.\n\n### IP_ADDRESS\nTo replace \u003cIP_ADDRESS\u003e with the IP address of your host machine, you need to determine the IP address that your Envoy Proxy container should use to reach the Node.js server running on the host.\n\nHere's how you can find the IP address of your host machine:\n\n1. macOS\n\nIf you're using macOS, you can use the ifconfig command to find the IP address of your network interface. Open a terminal and run:\n```bash\nifconfig | grep \"inet \"\n```\nLook for the IP address associated with your network interface (usually en0 or en1).\n\n2. Linux\n\nIf you're using Linux, you can use the ip addr show command to find the IP address of your network interface. Open a terminal and run:\n```bash\nip addr show\n```\nLook for the IP address associated with your network interface (usually eth0 or wlan0).\n\n3. Windows\n\nIf you're using Windows, you can use the ipconfig command to find the IP address of your network interface. Open a command prompt and run:\n```bash\nipconfig\n```\nLook for the IPv4 address associated with your network interface.\n\nOnce you have the IP address, replace \u003cIP_ADDRESS\u003e in your Envoy configuration file with the IP address you found. Ensure that your Node.js server is listening on the same IP address. After making the changes, restart your Envoy Proxy server, and it should now be able to communicate with your Node.js server using the correct IP address.\n\n\n## License\n\nThis project is licensed under the GPL-3.0 License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakarsh%2Fnodejs-envoy-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakarsh%2Fnodejs-envoy-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakarsh%2Fnodejs-envoy-proxy/lists"}