Skip to content

Commit

Permalink
Remove unused GRAYLOG_DATANODE_ROOT_PASSWORD_SHA2 from all docker com…
Browse files Browse the repository at this point in the history
…pose files
  • Loading branch information
todvora committed Oct 30, 2024
1 parent c2b364f commit 9fa49fe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
3 changes: 0 additions & 3 deletions cluster/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ services:
environment:
GRAYLOG_DATANODE_NODE_ID_FILE: "/var/lib/graylog-datanode/node-id"
GRAYLOG_DATANODE_PASSWORD_SECRET: "${GRAYLOG_PASSWORD_SECRET:?Please configure GRAYLOG_PASSWORD_SECRET in the .env file}"
GRAYLOG_DATANODE_ROOT_PASSWORD_SHA2: "${GRAYLOG_ROOT_PASSWORD_SHA2:?Please configure GRAYLOG_ROOT_PASSWORD_SHA2 in the .env file}"
GRAYLOG_DATANODE_MONGODB_URI: "mongodb://mongodb1:27017,mongodb2:27017,mongodb3:27017/graylog"
ulimits:
memlock:
Expand Down Expand Up @@ -87,7 +86,6 @@ services:
environment:
GRAYLOG_DATANODE_NODE_ID_FILE: "/var/lib/graylog-datanode/node-id"
GRAYLOG_DATANODE_PASSWORD_SECRET: "${GRAYLOG_PASSWORD_SECRET:?Please configure GRAYLOG_PASSWORD_SECRET in the .env file}"
GRAYLOG_DATANODE_ROOT_PASSWORD_SHA2: "${GRAYLOG_ROOT_PASSWORD_SHA2:?Please configure GRAYLOG_ROOT_PASSWORD_SHA2 in the .env file}"
GRAYLOG_DATANODE_MONGODB_URI: "mongodb://mongodb1:27017,mongodb2:27017,mongodb3:27017/graylog"
ulimits:
memlock:
Expand Down Expand Up @@ -117,7 +115,6 @@ services:
environment:
GRAYLOG_DATANODE_NODE_ID_FILE: "/var/lib/graylog-datanode/node-id"
GRAYLOG_DATANODE_PASSWORD_SECRET: "${GRAYLOG_PASSWORD_SECRET:?Please configure GRAYLOG_PASSWORD_SECRET in the .env file}"
GRAYLOG_DATANODE_ROOT_PASSWORD_SHA2: "${GRAYLOG_ROOT_PASSWORD_SHA2:?Please configure GRAYLOG_ROOT_PASSWORD_SHA2 in the .env file}"
GRAYLOG_DATANODE_MONGODB_URI: "mongodb://mongodb1:27017,mongodb2:27017,mongodb3:27017/graylog"
ulimits:
memlock:
Expand Down
1 change: 0 additions & 1 deletion enterprise/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ services:
environment:
GRAYLOG_DATANODE_NODE_ID_FILE: "/var/lib/graylog-datanode/node-id"
GRAYLOG_DATANODE_PASSWORD_SECRET: "${GRAYLOG_PASSWORD_SECRET:?Please configure GRAYLOG_PASSWORD_SECRET in the .env file}"
GRAYLOG_DATANODE_ROOT_PASSWORD_SHA2: "${GRAYLOG_ROOT_PASSWORD_SHA2:?Please configure GRAYLOG_ROOT_PASSWORD_SHA2 in the .env file}"
GRAYLOG_DATANODE_MONGODB_URI: "mongodb://mongodb:27017/graylog"
ulimits:
memlock:
Expand Down
14 changes: 14 additions & 0 deletions open-core/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ services:
volumes:
- "mongodb_data:/data/db"
restart: "on-failure"
ports:
- "27017:27017/tcp"
elasticsearch:
image: opensearchproject/opensearch:1.3.0
# ports:
# - "9200:9200"
# - "9300:9300"
environment:
- discovery.type=single-node
- plugins.security.disabled=true
volumes:
- "elasticsearch:/usr/share/opensearch/data"

# For DataNode setup, graylog starts with a preflight UI, this is a change from just using OpenSearch/Elasticsearch.
# Please take a look at the README at the top of this repo or the regular docs for more info.
Expand Down Expand Up @@ -46,6 +58,7 @@ services:
GRAYLOG_HTTP_BIND_ADDRESS: "0.0.0.0:9000"
GRAYLOG_HTTP_EXTERNAL_URI: "http://localhost:9000/"
GRAYLOG_MONGODB_URI: "mongodb://mongodb:27017/graylog"
GRAYLOG_ELASTICSEARCH_HOSTS: "http://elasticsearch:9200"
ports:
- "5044:5044/tcp" # Beats
- "5140:5140/udp" # Syslog
Expand All @@ -69,3 +82,4 @@ volumes:
graylog-datanode:
graylog_data:
graylog_journal:
elasticsearch:

0 comments on commit 9fa49fe

Please sign in to comment.