Let's assume that I have docker compose as bellow
version: '2.1'
services:
example-first:
image: example-first:latest
container_name: example-first
ports:
- "6161:6161"
restart: always
networks:
- default
example-second:
image: example-second:latest
container_name: example-second
ports:
- "6767:6767"
restart: always
network_mode: host
networks:
default:
driver: bridge
How the second container can receive (send request) the first container? Is it possible?
Thanks in advance!