docker run elasticsearch with password
配置密码
ELASTIC_PASSWORD=111111111111111111111111111
或者mount密码文件
ELASTIC_PASSWORD_FILE=/run/secrets/bootstrapPassword.txt
配置密码
ELASTIC_PASSWORD=111111111111111111111111111
或者mount密码文件
ELASTIC_PASSWORD_FILE=/run/secrets/bootstrapPassword.txt