-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phase V - Docker images #192
Comments
Enabled assembly of tar packages. https://github.com/wazuh/wazuh-indexer/actions/runs/8364340868 |
By placing a tar in the same folder as the Dockerfile, the image can be built running this command: docker build --progress=plain --no-cache --build-arg="WAZUH_VERSION=4.9.0" --build-arg="WAZUH_INDEXER_TAR_NAME=wazuh-indexer-4.9.0-1_linux-x64_cfca84f.tar.gz" --tag=wazuh-indexer:4.9.0 . Then, start a container with: docker run -it --rm wazuh-indexer:4.9.0 The indexer starts, but there is an error that prevents it from reaching the green cluster state, which I'm still troubleshooting.
|
The solution to the problem above is to run the security admin script to initialize the #!/bin/bash
# Initialize the `.opendistro_security` index.
INDEXER_HOME=/usr/share/wazuh-indexer
JAVA_HOME=$INDEXER_HOME/jdk/
export JAVA_HOME
bash $INDEXER_HOME/plugins/opensearch-security/tools/securityadmin.sh \
-cd $INDEXER_HOME/config/opensearch-security/ \
-nhnv \
-cacert $INDEXER_HOME/config/certs/root-ca.pem \
-cert $INDEXER_HOME/config/certs/admin.pem \
-key $INDEXER_HOME/config/certs/admin-key.pem \
-p 9200 \
-icl Raw command
JAVA_HOME=/usr/share/wazuh-indexer/jdk/ bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/securityadmin.sh -cd /usr/share/wazuh-indexer/config/opensearch-security/ -nhnv -cacert config/certs/root-ca.pem -cert config/certs/admin.pem -key config/certs/admin-key.pem -p 9200 -icl |
I wondered why we decided to run the
|
|
Description
Build and publish Docker images for development and testing.
The text was updated successfully, but these errors were encountered: