Skip to content

Commit

Permalink
fix thanks to MC, add working dockerfile with working test app setup
Browse files Browse the repository at this point in the history
  • Loading branch information
John Tordoff committed Aug 29, 2024
1 parent f09940a commit e487823
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/base/settings/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}
Expand Down
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e487823

Please sign in to comment.