forked from wazuh/wazuh-docker
Fixes in Dockerfiles and entrypoints
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user