Skip to content

zigante/delivery-simulator

Repository files navigation

Delivery simulator

Project built using Golang + Typescript + Nestjs + ReactJS + Websockets + Kafka + Kafka Connector + MongoDB + Docker + Elasticsearch + K8s

Configuring /etc/hosts

The communication between applications take place directly through the machine's network For this it is necessary to configure a host that all Docker containers can access.

make sure you have the following line in the file:

  • /etc/hosts - For Linux
  • C:\Windows\system32\drivers\etc\hosts - For Windows
127.0.0.1 host.docker.internal

Applications

For Windows

Recommended using Docker with WSL2. Watch next: https://www.youtube.com/watch?v=usF0rYCcj-E

Quick installation guide: https://github.com/codeedu/wsl2-docker-quickstart