Elasticsearchの練習リポジトリ
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

docker-compose.yml 366B

12345678910111213141516
  1. version: '3.3'
  2. services:
  3. # elastic search.
  4. es:
  5. image: elasticsearch:7.4.0
  6. ports:
  7. - "9200:9200"
  8. - "9300:9300"
  9. volumes:
  10. - es-data:/usr/share/elasticsearch/data
  11. - ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
  12. environment:
  13. - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
  14. volumes:
  15. es-data:
  16. driver: local