Skip to content

Commit

Permalink
make data node respect GRAYLOG_DATANODE_OPENSEARCH_*_PORT variables (
Browse files Browse the repository at this point in the history
  • Loading branch information
moesterheld authored Sep 11, 2024
1 parent 047a0a0 commit d46b168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/datanode/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export GRAYLOG_DATANODE_NODE_ID_FILE="${GRAYLOG_DATANODE_NODE_ID_FILE:-$GDN_DATA
export GRAYLOG_DATANODE_OPENSEARCH_CONFIG_LOCATION="${GRAYLOG_DATANODE_OPENSEARCH_CONFIG_LOCATION:-"$GRAYLOG_DATANODE_DATA_DIR/opensearch/config"}"
export GRAYLOG_DATANODE_OPENSEARCH_DATA_LOCATION="${GRAYLOG_DATANODE_OPENSEARCH_DATA_LOCATION:-"$GRAYLOG_DATANODE_DATA_DIR/opensearch/data"}"
export GRAYLOG_DATANODE_OPENSEARCH_LOGS_LOCATION="${GRAYLOG_DATANODE_OPENSEARCH_LOGS_LOCATION:-"$GRAYLOG_DATANODE_DATA_DIR/opensearch/logs"}"
export GRAYLOG_DATANODE_OPENSEARCH_HTTP_PORT="9200"
export GRAYLOG_DATANODE_OPENSEARCH_TRANSPORT_PORT="9300"
export GRAYLOG_DATANODE_OPENSEARCH_HTTP_PORT="${GRAYLOG_DATANODE_OPENSEARCH_HTTP_PORT:-9200}"
export GRAYLOG_DATANODE_OPENSEARCH_TRANSPORT_PORT="${GRAYLOG_DATANODE_OPENSEARCH_TRANSPORT_PORT:-9300}"
export GRAYLOG_DATANODE_NODE_NAME="${GRAYLOG_DATANODE_NODE_NAME:-"$HOSTNAME"}"

# TODO: Bundle the OpenSearch version property in the tarball so we can read it
Expand Down

0 comments on commit d46b168

Please sign in to comment.