parent
3536be8394
commit
f81e879ae4
|
|
@ -1,21 +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
|
|
||||||
ulimits:
|
|
||||||
memlock:
|
|
||||||
soft: -1
|
|
||||||
hard: -1
|
|
||||||
nofile:
|
|
||||||
soft: 65536
|
|
||||||
hard: 65536
|
|
||||||
mem_limit: 4g
|
|
||||||
|
|
@ -21,7 +21,7 @@ DOMAIN_URI = 'gm.id-east.ru'
|
||||||
# ELASTICSEARCH SETTINGS
|
# ELASTICSEARCH SETTINGS
|
||||||
ELASTICSEARCH_DSL = {
|
ELASTICSEARCH_DSL = {
|
||||||
'default': {
|
'default': {
|
||||||
'hosts': '188.68.209.124:9200'
|
'hosts': 'localhost:9200'
|
||||||
# 'hosts': 'elasticsearch:9200'
|
# 'hosts': 'elasticsearch:9200'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user