1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| version: '3' services: elasticsearch: image: elasticsearch:7.7.0 container_name: elk_elasticsearch restart: always environment: - "cluster.name=elasticsearch" - "discovery.type=single-node" - "ES_JAVA_OPTS=-Xms512m -Xmx1024m" volumes: - ./es/plugins:/usr/share/elasticsearch/plugins - ./es/data:/usr/share/elasticsearch/data ports: - 9200:9200
|
Chrome浏览器可以用 elasticsearch-head
插件查看