2019-07-11 08:04:25 -04:00
|
|
|
#!/bin/bash
|
|
|
|
cd /usr/share/elasticsearch/bin/
|
2021-02-23 12:32:17 -05:00
|
|
|
./elasticsearch-users useradd rest_user -p test-password -r superuser || true
|
2019-07-11 08:04:25 -04:00
|
|
|
echo "testnode" > /tmp/password
|
|
|
|
/usr/local/bin/docker-entrypoint.sh | tee > /usr/share/elasticsearch/logs/console.log
|