Skip to content

Commit

Permalink
Deploy: updated env vars for metric/filebeat image(s).
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Sep 11, 2023
1 parent 01f4e02 commit 6b5c5ed
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
10 changes: 9 additions & 1 deletion deploy/elasticsearch.env
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ ELASTICSEARCH_XPACK_SECURITY_SAVED_OBJECTS_ENCRYPTION_KEY="+tcwakgxUu+SJcMJbdGQe
ELASTICSEARCH_XPACK_SECURITY_REPORTING_ENCRYPTION_KEY="e0Y1gTxHWOopIWMTtpjQsDS6Kv8wUxofg0xRTai0mNg="



######################################################################### METRICBEAT Env vars ##########################################################################

METRICBEAT_IMAGE="docker.elastic.co/beats/metricbeat:8.3.3"


########################################################################## FILEBEAT Env vars ###########################################################################

# Possible values:
Expand All @@ -199,4 +205,6 @@ ELASTICSEARCH_XPACK_SECURITY_REPORTING_ENCRYPTION_KEY="e0Y1gTxHWOopIWMTtpjQsDS6K
FILEBEAT_STARTUP_COMMAND="-e --strict.perms=false"


FILEBEAT_HOST="https://elasticsearch-1:9200"
FILEBEAT_HOST="https://elasticsearch-1:9200"

FILEBEAT_IMAGE="docker.elastic.co/beats/filebeat:8.3.3"
12 changes: 6 additions & 6 deletions deploy/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ services:
#---------------------------------------------------------------------------#
es_native_create_certs:
container_name: es_create_certs
image: docker.elastic.co/elasticsearch/elasticsearch:8.3.3
image: ${ELASTICSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch:2.6.0}
env_file:
- ../security/certificates_elasticsearch.env
environment:
Expand Down Expand Up @@ -724,7 +724,7 @@ services:

metricbeat-1:
container_name: cogstack-metricbeat-1
image: docker.elastic.co/beats/metricbeat:8.3.3
image: ${METRICBEAT_IMAGE:docker.elastic.co/beats/metricbeat:8.3.3}
command: -e --strict.perms=false
env_file:
- ./elasticsearch.env
Expand Down Expand Up @@ -765,7 +765,7 @@ services:

metricbeat-2:
container_name: cogstack-metricbeat-2
image: docker.elastic.co/beats/metricbeat:8.3.3
image: ${METRICBEAT_IMAGE:docker.elastic.co/beats/metricbeat:8.3.3}
command: -e --strict.perms=false
env_file:
- ./elasticsearch.env
Expand Down Expand Up @@ -804,7 +804,7 @@ services:

filebeat-1:
container_name: cogstack-filebeat-1
image: docker.elastic.co/beats/filebeat:8.3.3
image: ${FILEBEAT_IMAGE:-docker.elastic.co/beats/filebeat:8.3.3}
command: ${FILEBEAT_STARTUP_COMMAND:-'-e --strict.perms=false'}
env_file:
- ./elasticsearch.env
Expand Down Expand Up @@ -846,7 +846,7 @@ services:

filebeat-2:
container_name: cogstack-filebeat-2
image: docker.elastic.co/beats/filebeat:8.3.3
image: ${FILEBEAT_IMAGE:-docker.elastic.co/beats/filebeat:8.3.3}
command: ${FILEBEAT_STARTUP_COMMAND:-'-e --strict.perms=false'}
env_file:
- ./elasticsearch.env
Expand Down Expand Up @@ -888,7 +888,7 @@ services:

filebeat-3:
container_name: cogstack-filebeat-3
image: docker.elastic.co/beats/filebeat:8.3.3
image: ${FILEBEAT_IMAGE:-docker.elastic.co/beats/filebeat:8.3.3}
command: ${FILEBEAT_STARTUP_COMMAND:-'-e --strict.perms=false'}
env_file:
- ./elasticsearch.env
Expand Down

0 comments on commit 6b5c5ed

Please sign in to comment.