Elasticsearch 安装
创建持久化卷
elasticsearch/config/
elasticsearch/data/
elasticsearch/plugins/network.bind_host: 0.0.0.0 #外网可访问
http.host: 0.0.0.0
http.cors.enabled: true
http.cors.allow-origin: "*"
# xpack.security.enabled: true # 这条配置表示开启xpack认证机制 spring boot连接使用
xpack.security.transport.ssl.enabled: true
xpack.security.enabled: false创建网路连接
启动Elasticsearch
Last updated