From 8da14bb5d7be3614d1b559fb40bae3ad1076300d Mon Sep 17 00:00:00 2001 From: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com> Date: Mon, 2 Sep 2024 13:31:37 +0200 Subject: [PATCH] fix host.docker.internal on linux (#6443) (#6451) Signed-off-by: Evgenii Rechkalov --- dev/docker-compose.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index 2debbc9482..9b045a3d1a 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -51,6 +51,8 @@ services: restart: unless-stopped account: image: hardcoreeng/account + extra_hosts: + - "host.docker.internal:host-gateway" links: - mongodb - minio @@ -76,6 +78,8 @@ services: restart: unless-stopped collaborator: image: hardcoreeng/collaborator + extra_hosts: + - "host.docker.internal:host-gateway" links: - mongodb - minio @@ -92,6 +96,8 @@ services: restart: unless-stopped front: image: hardcoreeng/front + extra_hosts: + - "host.docker.internal:host-gateway" links: - mongodb - minio @@ -126,6 +132,8 @@ services: restart: unless-stopped transactor: image: hardcoreeng/transactor + extra_hosts: + - "host.docker.internal:host-gateway" links: - mongodb - elastic @@ -184,6 +192,8 @@ services: memory: 300M sign: image: hardcoreeng/sign + extra_hosts: + - "host.docker.internal:host-gateway" restart: unless-stopped ports: - 4006:4006 @@ -207,6 +217,8 @@ services: memory: 300M analytics: image: hardcoreeng/analytics-collector + extra_hosts: + - "host.docker.internal:host-gateway" restart: unless-stopped ports: - 4007:4007 @@ -224,6 +236,8 @@ services: memory: 300M aiBot: image: hardcoreeng/ai-bot + extra_hosts: + - "host.docker.internal:host-gateway" restart: unless-stopped environment: - SERVER_SECRET=secret @@ -241,6 +255,8 @@ services: memory: 300M # telegram-bot: # image: hardcoreeng/telegram-bot +# extra_hosts: +# - "host.docker.internal:host-gateway" # restart: unless-stopped # environment: # - PORT=4020