Fixes in Dockerfiles and entrypoints

This commit is contained in:
vcerenu
2022-01-21 15:28:56 -03:00
parent 4435658edf
commit b7b87cb06e
11 changed files with 41 additions and 295 deletions
+7 -4
View File
@@ -1,11 +1,14 @@
#!/bin/bash
# Wazuh Docker Copyright (C) 2021 Wazuh Inc. (License GPLv2)
set -e
##############################################################################
# Start Wazuh dashboard
##############################################################################
#sed -i 's/localhost:9700/elasticsearch:9200/' /etc/wazuh-dashboard/wazuh-dashboard.yml
sed -i 's/localhost:9700/elasticsearch:9700/' /etc/wazuh-dashboard/wazuh-dashboard.yml
service wazuh-dashboard start
while true; do sleep 1000; done
sleep 20
tail -f /var/log/wazuh-dashboard/wazuh-dashboard.log