From 2a680311ae66f9df8f0b589094e5801db8c56882 Mon Sep 17 00:00:00 2001 From: Kuroshini Date: Mon, 18 Nov 2019 17:37:10 +0300 Subject: [PATCH] Revert "use another ES server" This reverts commit 89191fc --- docker-compose.elasticsearch.yml | 13 ------------- project/settings/development.py | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 docker-compose.elasticsearch.yml diff --git a/docker-compose.elasticsearch.yml b/docker-compose.elasticsearch.yml deleted file mode 100644 index cabe0778..00000000 --- a/docker-compose.elasticsearch.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: '3.5' -services: - elasticsearch: - image: elasticsearch:7.3.1 - volumes: - - gm-esdata:/usr/share/elasticsearch/data - hostname: elasticsearch - network_mode: 'host' - environment: - - "ES_JAVA_OPTS=-Xms4g -Xmx4g" - - discovery.type=single-node - - xpack.security.enabled=false - restart: always \ No newline at end of file diff --git a/project/settings/development.py b/project/settings/development.py index 669bc485..3bc258a1 100644 --- a/project/settings/development.py +++ b/project/settings/development.py @@ -21,7 +21,7 @@ DOMAIN_URI = 'gm.id-east.ru' # ELASTICSEARCH SETTINGS ELASTICSEARCH_DSL = { 'default': { - 'hosts': '188.68.209.124:9200' + 'hosts': 'localhost:9200' # 'hosts': 'elasticsearch:9200' } }