docker创建elasticsearch和Kibana

docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e “discovery.type=single-node” -e ES_JAVA_OPTS="-Xms64m -Xmx128m" -v /mydata/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v /mydata/elasticsearch/data:/usr/share/elasticsearch/data -v /mydata/elasticsearch/plugins:/usr/share/elasticsearch/plugins -d elasticsearch:7.4.2

docker run --name kibana -e ELASTICSEARCH_HOSTS=http://47.100.93.69:9200 -p 5601:5601 -d kibana:7.4.2

上一篇:esp_now_实例代码


下一篇:Elasticsearch安装配置