Skip to content

Commit

Permalink
Merge pull request #1215 from wazuh/1214-rollback-ism-changes
Browse files Browse the repository at this point in the history
Rollback ISM changes
  • Loading branch information
teddytpc1 authored Feb 20, 2024
2 parents ec90762 + 33a5534 commit 1b32518
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 25 deletions.
6 changes: 1 addition & 5 deletions build-docker-images/wazuh-indexer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ ENV USER="wazuh-indexer" \
NAME="wazuh-indexer" \
INSTALL_DIR="/usr/share/wazuh-indexer"

RUN apt-get update -y && apt-get install curl -y

RUN getent group $GROUP || groupadd -r -g 1000 $GROUP

RUN useradd --system \
Expand All @@ -54,9 +52,7 @@ COPY config/entrypoint.sh /

COPY config/securityadmin.sh /

COPY config/ism-check.sh /

RUN chmod 700 /entrypoint.sh && chmod 700 /securityadmin.sh && chmod 700 /ism-check.sh
RUN chmod 700 /entrypoint.sh && chmod 700 /securityadmin.sh

RUN chown 1000:1000 /*.sh

Expand Down
2 changes: 0 additions & 2 deletions build-docker-images/wazuh-indexer/config/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,4 @@ fi
# touch "/var/lib/wazuh-indexer/.flag"
#fi

nohup /ism-check.sh &

run_as_other_user_if_needed /usr/share/wazuh-indexer/bin/opensearch <<<"$KEYSTORE_PASSWORD"
15 changes: 0 additions & 15 deletions build-docker-images/wazuh-indexer/config/ism-check.sh

This file was deleted.

1 change: 0 additions & 1 deletion multi-node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ services:
environment:
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
- "bootstrap.memory_lock=true"
- 'INDEXER_PASSWORD=SecretPassword'
ulimits:
memlock:
soft: -1
Expand Down
3 changes: 1 addition & 2 deletions single-node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ services:
ports:
- "9200:9200"
environment:
- "OPENSEARCH_JAVA_OPTS=-Xms1024m -Xmx1024m"
- 'INDEXER_PASSWORD=SecretPassword'
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
ulimits:
memlock:
soft: -1
Expand Down

0 comments on commit 1b32518

Please sign in to comment.