From e4878233ae8d20c73e965789776cc28548153d6b Mon Sep 17 00:00:00 2001 From: John Tordoff <> Date: Thu, 29 Aug 2024 09:49:11 -0400 Subject: [PATCH] fix thanks to MC, add working dockerfile with working test app setup --- api/base/settings/defaults.py | 2 +- conftest.py | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/base/settings/defaults.py b/api/base/settings/defaults.py index d74e744f787..bedb32cac17 100644 --- a/api/base/settings/defaults.py +++ b/api/base/settings/defaults.py @@ -317,7 +317,7 @@ # django-elasticsearch-metrics ELASTICSEARCH_DSL = { 'default': { - 'hosts': os.environ.get('ELASTIC6_URI', '127.0.0.1:9201'), + 'hosts': os.environ.get('ELASTIC6_URI', '192.168.168.167:9201'), 'retry_on_timeout': True, }, } diff --git a/conftest.py b/conftest.py index 1acfabbdbb5..202cd801e8b 100644 --- a/conftest.py +++ b/conftest.py @@ -124,7 +124,7 @@ def _test_speedups_disable(request, settings, _test_speedups): @pytest.fixture(scope='session') def setup_connections(): - connections.create_connection(hosts=['http://localhost:9201']) + connections.create_connection(hosts=['http://192.168.168.167:9201']) @pytest.fixture(scope='function') diff --git a/docker-compose.yml b/docker-compose.yml index ce4e3ea0618..50004d4b93a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -69,7 +69,7 @@ services: # Temporary: Remove when we've upgraded to ES6 elasticsearch6: - image: docker.elastic.co/elasticsearch/elasticsearch:6.3.1 + image: quay.io/matt_cos/es6-arm ports: - 9201:9200 volumes: