remove elasticsearch
This commit is contained in:
@@ -17,27 +17,3 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 7700:7700
|
||||
|
||||
elastic:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.3
|
||||
container_name: elastic
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- bootstrap.memory_lock=true
|
||||
- xpack.security.enabled=false
|
||||
- xpack.security.http.ssl.enabled=false
|
||||
- xpack.security.transport.ssl.enabled=false
|
||||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||
- http.cors.allow-origin="*"
|
||||
- http.cors.enabled=true
|
||||
- http.cors.allow-credentials=true
|
||||
- http.cors.allow-methods=OPTIONS, HEAD, GET, POST, PUT, DELETE
|
||||
- http.cors.allow-headers=X-Requested-With, X-Auth-Token, Content-Type, Content-Length, Authorization, Access-Control-Allow-Headers, Accept, x-elastic-client-meta
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
volumes:
|
||||
- ./.elastic_volume:/usr/share/elasticsearch/data
|
||||
ports:
|
||||
- 9200:9200
|
||||
|
||||
Reference in New Issue
Block a user