From 2126171f0e4c61d1fb6c2d923813a7928747107e Mon Sep 17 00:00:00 2001 From: Michael Chouinard Date: Fri, 17 May 2024 10:29:50 -0400 Subject: [PATCH] Trying something else for the network setup? --- api/docker-compose.yml | 3 ++- api/tests/src/adapters/{opensearch => search}/__init__.py | 0 .../src/adapters/{opensearch => search}/test_opensearch.py | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename api/tests/src/adapters/{opensearch => search}/__init__.py (100%) rename api/tests/src/adapters/{opensearch => search}/test_opensearch.py (100%) diff --git a/api/docker-compose.yml b/api/docker-compose.yml index 88668a89e..c1744c520 100644 --- a/api/docker-compose.yml +++ b/api/docker-compose.yml @@ -51,7 +51,6 @@ services: networks: - opensearch-net - grants-api: build: context: . @@ -69,6 +68,8 @@ services: depends_on: - grants-db - opensearch-node + extra_hosts: + - "host.docker.internal:host-gateway" volumes: grantsdbdata: diff --git a/api/tests/src/adapters/opensearch/__init__.py b/api/tests/src/adapters/search/__init__.py similarity index 100% rename from api/tests/src/adapters/opensearch/__init__.py rename to api/tests/src/adapters/search/__init__.py diff --git a/api/tests/src/adapters/opensearch/test_opensearch.py b/api/tests/src/adapters/search/test_opensearch.py similarity index 100% rename from api/tests/src/adapters/opensearch/test_opensearch.py rename to api/tests/src/adapters/search/test_opensearch.py