From f8f9c89696e0d56362302bcfe75f6ecc97198b0c Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Mon, 14 Mar 2022 19:14:08 +0100 Subject: [PATCH] added Docker host in case TCP is used instead of Unix socket --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 3409c32..7fd474e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,8 @@ services: - GUNICORN_WORKERS=2 - GUNICORN_LOGLEVEL=INFO - OFFLINE_MODE=False + extra_hosts: + - host.docker.internal:host-gateway labels: - traefik.enable=${TRAEFIK_ENABLED} - traefik.docker.network=traefik