aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker/elasticsearch/my-entrypoint.sh
diff options
context:
space:
mode:
authorosgn422w <gervais-martial.ngueko@intl.att.com>2019-07-17 16:17:13 +0200
committerosgn422w <gervais-martial.ngueko@intl.att.com>2019-07-17 16:24:58 +0200
commit0ce11eaeca48930d0203545a5e4206349a11f01b (patch)
treebbe5b1c792043fd2dafded1bcdb12449752bd995 /src/main/docker/elasticsearch/my-entrypoint.sh
parent493c3839fb6807512218165fd8a3a6efe1933fb9 (diff)
add searchguard
add authentication to elk with searchguard Issue-ID: CLAMP-419 Change-Id: I66bca485750e3377db10f6f43efb7f741a42c17d Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
Diffstat (limited to 'src/main/docker/elasticsearch/my-entrypoint.sh')
-rw-r--r--src/main/docker/elasticsearch/my-entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/docker/elasticsearch/my-entrypoint.sh b/src/main/docker/elasticsearch/my-entrypoint.sh
new file mode 100644
index 00000000..9eee64e0
--- /dev/null
+++ b/src/main/docker/elasticsearch/my-entrypoint.sh
@@ -0,0 +1,8 @@
+source init_sg.sh
+
+while [ $? -ne 0 ]; do
+ sleep 10
+ source init_sg.sh
+done &
+
+/bin/bash -c "source /usr/local/bin/docker-entrypoint.sh;"