fix #1418 elasticsearch up fails.

This commit is contained in:
Shao Yu Lung 2018-03-29 15:34:38 +08:00
parent c84a57cd13
commit 83140d9939
2 changed files with 1 additions and 4 deletions

View File

@ -507,7 +507,6 @@ services:
build: ./elasticsearch build: ./elasticsearch
volumes: volumes:
- elasticsearch-data:/usr/share/elasticsearch/data - elasticsearch-data:/usr/share/elasticsearch/data
- elasticsearch-plugins:/usr/share/elasticsearch/plugins
environment: environment:
- cluster.name=laradock-cluster - cluster.name=laradock-cluster
- bootstrap.memory_lock=true - bootstrap.memory_lock=true
@ -747,5 +746,3 @@ volumes:
driver: "local" driver: "local"
elasticsearch-data: elasticsearch-data:
driver: "local" driver: "local"
elasticsearch-plugins:
driver: "local"

View File

@ -1,3 +1,3 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:5.4.1 FROM docker.elastic.co/elasticsearch/elasticsearch:6.2.3
EXPOSE 9200 9300 EXPOSE 9200 9300