Update docker-compose.yml (#8163)

Fix sometime es may cannot start
refer:https://m.html.cn/site/111215825993025.html
This commit is contained in:
老兄 2022-01-25 22:16:09 +08:00 committed by GitHub
parent 4b64c72957
commit d6ebee0aaf

View File

@ -40,6 +40,7 @@ services:
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2 # image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2
# environment: # environment:
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m" # - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# - "TAKE_FILE_OWNERSHIP=111"
# networks: # networks:
# - internal_network # - internal_network
# volumes: # volumes: