mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
21 lines
646 B
Bash
21 lines
646 B
Bash
#!/bin/bash
|
|
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
|
|
|
##############################################################################
|
|
# instances.yml
|
|
# This file is necessary for the creation of the Elasticsaerch certificate.
|
|
##############################################################################
|
|
|
|
if [[ $SECURITY_ENABLED == "yes" ]]; then
|
|
echo "SECURITY - Setting Elasticserach security."
|
|
|
|
# instance.yml to be added by the user.
|
|
# Example:
|
|
# echo "
|
|
# instances:
|
|
# - name: \"elasticsearch\"
|
|
# dns:
|
|
# - \"elasticsearch\"
|
|
# " > /user/share/elasticsearch/instances.yml
|
|
|
|
fi |