Docker/elasticsearch:修订间差异
来自康健生活
| 第45行: | 第45行: | ||
== 角色管理 == | == 角色管理 == | ||
=== | === 设置用户名密码 === | ||
添加 | |||
{{Hc|elasticsearch.yml|<syntaxhighlight lang="javascript"> | |||
xpack.security.enabled: true | |||
xpack.license.self_generated.type: basic | |||
xpack.security.transport.ssl.enabled: true</syntaxhighlight>}} | |||
重启 ElasticSearch | |||
== 参考 == | == 参考 == | ||
* https://www.elastic.co/cn/support/matrix#matrix_compatibility | * https://www.elastic.co/cn/support/matrix#matrix_compatibility | ||