Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions compose/DEV.env
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ DATA_LAKE_KAFKA_NETWORK=14.1.4.0/24
DATA_LAKE_REDIS_NETWORK=14.1.5.0/24
DATA_LAKE_MONGO_DB_NETWORK=14.1.6.0/24

OBSERVABILITY_ELASTICSEARCH_VERSION=6.8.2
OBSERVABILITY_LOGSTASH_VERSION=6.8.2
OBSERVABILITY_KIBANA_VERSION=6.8.2
OBSERVABILITY_APM_VERSION=6.8.2
OBSERVABILITY_ELASTICSEARCH_VERSION=9.2.3
OBSERVABILITY_LOGSTASH_VERSION=9.2.3
OBSERVABILITY_KIBANA_VERSION=9.2.3
OBSERVABILITY_APM_VERSION=9.2.3
OBSERVABILITY_ELK_NETWORK=14.1.9.0/24
OBSERVABILITY_ELK_ELASTICSEARCH_PORT=9200
OBSERVABILITY_ELK_LOGSTASH_PORT=5044
Expand Down
8 changes: 4 additions & 4 deletions compose/QAA.env
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ DATA_LAKE_KAFKA_NETWORK=15.1.4.0/24
DATA_LAKE_REDIS_NETWORK=15.1.5.0/24
DATA_LAKE_MONGO_DB_NETWORK=15.1.6.0/24

OBSERVABILITY_ELASTICSEARCH_VERSION=6.8.2
OBSERVABILITY_LOGSTASH_VERSION=6.8.2
OBSERVABILITY_KIBANA_VERSION=6.8.2
OBSERVABILITY_APM_VERSION=6.8.2
OBSERVABILITY_ELASTICSEARCH_VERSION=9.2.3
OBSERVABILITY_LOGSTASH_VERSION=9.2.3
OBSERVABILITY_KIBANA_VERSION=9.2.3
OBSERVABILITY_APM_VERSION=9.2.3
OBSERVABILITY_ELK_NETWORK=15.1.9.0/24
OBSERVABILITY_ELK_ELASTICSEARCH_PORT=9200
OBSERVABILITY_ELK_LOGSTASH_PORT=5044
Expand Down
8 changes: 4 additions & 4 deletions compose/QAB.env
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ DATA_LAKE_KAFKA_NETWORK=16.1.4.0/24
DATA_LAKE_REDIS_NETWORK=16.1.5.0/24
DATA_LAKE_MONGO_DB_NETWORK=16.1.6.0/24

OBSERVABILITY_ELASTICSEARCH_VERSION=6.8.2
OBSERVABILITY_LOGSTASH_VERSION=6.8.2
OBSERVABILITY_KIBANA_VERSION=6.8.2
OBSERVABILITY_APM_VERSION=6.8.2
OBSERVABILITY_ELASTICSEARCH_VERSION=9.2.3
OBSERVABILITY_LOGSTASH_VERSION=9.2.3
OBSERVABILITY_KIBANA_VERSION=9.2.3
OBSERVABILITY_APM_VERSION=9.2.3
OBSERVABILITY_ELK_NETWORK=16.1.9.0/24
OBSERVABILITY_ELK_ELASTICSEARCH_PORT=9200
OBSERVABILITY_ELK_LOGSTASH_PORT=5044
Expand Down
8 changes: 4 additions & 4 deletions compose/observability/elk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:
elasticsearch:
image: sloopstash/elasticsearch:v${OBSERVABILITY_ELASTICSEARCH_VERSION}
entrypoint: /usr/bin/supervisord
entrypoint: /usr/local/bin/supervisord
command: "-c /etc/supervisord.conf"
privileged: true
ports:
Expand All @@ -19,7 +19,7 @@ services:
- common
logstash:
image: sloopstash/logstash:v${OBSERVABILITY_LOGSTASH_VERSION}
entrypoint: /usr/bin/supervisord
entrypoint: /usr/local/bin/supervisord
command: "-c /etc/supervisord.conf"
ports:
- "${OBSERVABILITY_ELK_LOGSTASH_PORT}:5044"
Expand All @@ -38,7 +38,7 @@ services:
- common
kibana:
image: sloopstash/kibana:v${OBSERVABILITY_KIBANA_VERSION}
entrypoint: /usr/bin/supervisord
entrypoint: /usr/local/bin/supervisord
command: "-c /etc/supervisord.conf"
ports:
- "${OBSERVABILITY_ELK_KIBANA_PORT}:5601"
Expand All @@ -54,7 +54,7 @@ services:
- common
apm:
image: sloopstash/apm:v${OBSERVABILITY_APM_VERSION}
entrypoint: /usr/bin/supervisord
entrypoint: /usr/local/bin/supervisord
command: "-c /etc/supervisord.conf"
ports:
- "${OBSERVABILITY_ELK_APM_PORT}:8200"
Expand Down
56 changes: 56 additions & 0 deletions image/apm/9.2.3/alma-linux-9.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Docker image to use.
FROM sloopstash/alma-linux-9:v1.1.1 AS install_system_packages

# Install system packages.
RUN set -x \
&& dnf install -y perl-Digest-SHA \
&& dnf clean all \
&& rm -rf /var/cache/dnf

# Intermediate Docker image to use.
FROM --platform=linux/amd64 install_system_packages AS install_apm_amd64

# Install APM.
WORKDIR /tmp
RUN set -x \
&& wget https://artifacts.elastic.co/downloads/apm-server/apm-server-9.2.3-linux-x86_64.tar.gz --quiet \
&& wget https://artifacts.elastic.co/downloads/apm-server/apm-server-9.2.3-linux-x86_64.tar.gz.sha512 --quiet \
&& shasum -a 512 -c apm-server-9.2.3-linux-x86_64.tar.gz.sha512 \
&& tar xvzf apm-server-9.2.3-linux-x86_64.tar.gz > /dev/null \
&& mkdir /usr/local/lib/apm \
&& cp -r apm-server-9.2.3-linux-x86_64/* /usr/local/lib/apm/ \
&& rm -rf apm-server-9.2.3*

# Intermediate Docker image to use.
FROM --platform=linux/arm64 install_system_packages AS install_apm_arm64

# Install APM.
WORKDIR /tmp
RUN set -x \
&& wget https://artifacts.elastic.co/downloads/apm-server/apm-server-9.2.3-linux-arm64.tar.gz --quiet \
&& wget https://artifacts.elastic.co/downloads/apm-server/apm-server-9.2.3-linux-arm64.tar.gz.sha512 --quiet \
&& shasum -a 512 -c apm-server-9.2.3-linux-arm64.tar.gz.sha512 \
&& tar xvzf apm-server-9.2.3-linux-arm64.tar.gz > /dev/null \
&& mkdir /usr/local/lib/apm \
&& cp -r apm-server-9.2.3-linux-arm64/* /usr/local/lib/apm/ \
&& rm -rf apm-server-9.2.3*

# Intermediate Docker image to use.
FROM install_apm_${TARGETARCH}

# Create APM directories.
RUN set -x \
&& mkdir /opt/apm \
&& mkdir /opt/apm/data \
&& mkdir /opt/apm/log \
&& mkdir /opt/apm/conf \
&& mkdir /opt/apm/script \
&& mkdir /opt/apm/system \
&& touch /opt/apm/system/server.pid \
&& touch /opt/apm/system/supervisor.ini \
&& ln -sf /opt/apm/conf/server.yml /usr/local/lib/apm/apm-server.yml \
&& ln -s /opt/apm/system/supervisor.ini /etc/supervisord.d/apm.ini \
&& history -c

# Set default work directory.
WORKDIR /opt/apm
4 changes: 4 additions & 0 deletions image/apm/9.2.3/context/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory.
*
# Except this file.
!.gitignore
63 changes: 63 additions & 0 deletions image/elasticsearch/9.2.3/alma-linux-9.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Docker image to use.
FROM sloopstash/alma-linux-9:v1.1.1 AS install_system_packages

# Install system packages.
RUN set -x \
&& dnf install -y perl-Digest-SHA \
&& dnf clean all \
&& rm -rf /var/cache/dnf

# Intermediate Docker image to use.
FROM --platform=linux/amd64 install_system_packages AS install_elasticsearch_amd64

# Install Elasticsearch.
WORKDIR /tmp
RUN set -x \
&& wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.2.3-linux-x86_64.tar.gz --quiet \
&& wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.2.3-linux-x86_64.tar.gz.sha512 --quiet \
&& shasum -a 512 -c elasticsearch-9.2.3-linux-x86_64.tar.gz.sha512 \
&& tar -xzf elasticsearch-9.2.3-linux-x86_64.tar.gz > /dev/null \
&& mkdir /usr/local/lib/elasticsearch \
&& cp -r elasticsearch-9.2.3/* /usr/local/lib/elasticsearch/ \
&& rm -rf elasticsearch-9.2.3*

# Intermediate Docker image to use.
FROM --platform=linux/arm64 install_system_packages AS install_elasticsearch_arm64

# Install Elasticsearch.
WORKDIR /tmp
RUN set -x \
&& wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.2.3-linux-aarch64.tar.gz --quiet \
&& wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.2.3-linux-aarch64.tar.gz.sha512 --quiet \
&& shasum -a 512 -c elasticsearch-9.2.3-linux-aarch64.tar.gz.sha512 \
&& tar xvzf elasticsearch-9.2.3-linux-aarch64.tar.gz > /dev/null \
&& mkdir /usr/local/lib/elasticsearch \
&& cp -r elasticsearch-9.2.3/* /usr/local/lib/elasticsearch/ \
&& rm -rf elasticsearch-9.2.3*

# Intermediate Docker image to use.
FROM install_elasticsearch_${TARGETARCH}

# Create system user for Elasticsearch.
RUN useradd -m elasticsearch

# Create Elasticsearch directories.
RUN set -x \
&& mkdir /opt/elasticsearch \
&& mkdir /opt/elasticsearch/data \
&& mkdir /opt/elasticsearch/log \
&& mkdir /opt/elasticsearch/conf \
&& mkdir /opt/elasticsearch/script \
&& mkdir /opt/elasticsearch/system \
&& touch /opt/elasticsearch/system/server.pid \
&& touch /opt/elasticsearch/system/supervisor.ini \
&& ln -sf /opt/elasticsearch/conf/server.yml /usr/local/lib/elasticsearch/config/elasticsearch.yml \
&& ln -sf /opt/elasticsearch/conf/jvm.options /usr/local/lib/elasticsearch/config/jvm.options \
&& ln -s /opt/elasticsearch/system/security-limit.conf /etc/security/limits.d/elasticsearch.conf \
&& ln -s /opt/elasticsearch/system/supervisor.ini /etc/supervisord.d/elasticsearch.ini \
&& chown -R elasticsearch:elasticsearch /usr/local/lib/elasticsearch \
&& chown -R elasticsearch:elasticsearch /opt/elasticsearch \
&& history -c

# Set default work directory.
WORKDIR /opt/elasticsearch
5 changes: 5 additions & 0 deletions image/elasticsearch/9.2.3/context/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore everything in this directory.
*
# Except this file.
!.gitignore

55 changes: 55 additions & 0 deletions image/kibana/9.2.3/alma-linux-9.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Docker image to use.
FROM sloopstash/alma-linux-9:v1.1.1 AS install_system_packages

# Install system packages.
RUN set -x \
&& dnf install -y perl-Digest-SHA \
&& dnf clean all \
&& rm -rf /var/cache/dnf

# Intermediate Docker image to use.
FROM --platform=linux/amd64 install_system_packages AS install_kibana_amd64

# Install Kibana.
WORKDIR /tmp
RUN set -x \
&& wget https://artifacts.elastic.co/downloads/kibana/kibana-9.2.3-linux-x86_64.tar.gz --quiet \
&& wget https://artifacts.elastic.co/downloads/kibana/kibana-9.2.3-linux-x86_64.tar.gz.sha512 --quiet \
&& shasum -a 512 -c kibana-9.2.3-linux-x86_64.tar.gz.sha512 \
&& tar xvzf kibana-9.2.3-linux-x86_64.tar.gz > /dev/null \
&& mkdir /usr/local/lib/kibana \
&& cp -r kibana-9.2.3/* /usr/local/lib/kibana/ \
&& rm -rf kibana-9.2.3*

# Intermediate Docker image to use.
FROM --platform=linux/arm64 install_system_packages AS install_kibana_arm64

# Install Kibana.
WORKDIR /tmp
RUN set -x \
&& wget https://artifacts.elastic.co/downloads/kibana/kibana-9.2.3-linux-aarch64.tar.gz --quiet \
&& wget https://artifacts.elastic.co/downloads/kibana/kibana-9.2.3-linux-aarch64.tar.gz.sha512 --quiet \
&& shasum -a 512 -c kibana-9.2.3-linux-aarch64.tar.gz.sha512 \
&& tar xvzf kibana-9.2.3-linux-aarch64.tar.gz > /dev/null \
&& mkdir /usr/local/lib/kibana \
&& cp -r kibana-9.2.3/* /usr/local/lib/kibana/ \
&& rm -rf kibana-9.2.3*

# Intermediate Docker image to use.
FROM install_kibana_${TARGETARCH}

# Create Kibana directories.
RUN set -x \
&& mkdir /opt/kibana \
&& mkdir /opt/kibana/data \
&& mkdir /opt/kibana/log \
&& mkdir /opt/kibana/conf \
&& mkdir /opt/kibana/script \
&& mkdir /opt/kibana/system \
&& touch /opt/kibana/system/server.pid \
&& touch /opt/kibana/system/supervisor.ini \
&& ln -s /opt/kibana/system/supervisor.ini /etc/supervisord.d/kibana.ini \
&& history -c

# Set default work directory.
WORKDIR /opt/kibana
4 changes: 4 additions & 0 deletions image/kibana/9.2.3/context/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory.
*
# Except this file.
!.gitignore
63 changes: 63 additions & 0 deletions image/logstash/9.2.3/alma-linux-9.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Docker image to use.
FROM sloopstash/alma-linux-9:v1.1.1 AS install_system_packages

# Install system packages.
RUN set -x \
&& dnf install -y perl-Digest-SHA \
&& dnf clean all \
&& rm -rf /var/cache/dnf

# Intermediate Docker image to use.
FROM --platform=linux/amd64 install_system_packages AS install_logstash_amd64

# Install Logstash.
WORKDIR /tmp
RUN set -x \
&& wget https://artifacts.elastic.co/downloads/logstash/logstash-9.2.3-linux-x86_64.tar.gz --quiet \
&& wget https://artifacts.elastic.co/downloads/logstash/logstash-9.2.3-linux-x86_64.tar.gz.sha512 --quiet \
&& shasum -a 512 -c logstash-9.2.3-linux-x86_64.tar.gz.sha512 \
&& tar xvzf logstash-9.2.3-linux-x86_64.tar.gz > /dev/null \
&& mkdir /usr/local/lib/logstash \
&& cp -r logstash-9.2.3/* /usr/local/lib/logstash/ \
&& rm -rf logstash-9.2.3*

# Intermediate Docker image to use.
FROM --platform=linux/arm64 install_system_packages AS install_logstash_arm64

# Install Logstash.
WORKDIR /tmp
RUN set -x \
&& wget https://artifacts.elastic.co/downloads/logstash/logstash-9.2.3-linux-aarch64.tar.gz --quiet \
&& wget https://artifacts.elastic.co/downloads/logstash/logstash-9.2.3-linux-aarch64.tar.gz.sha512 --quiet \
&& shasum -a 512 -c logstash-9.2.3-linux-aarch64.tar.gz.sha512 \
&& tar xvzf logstash-9.2.3-linux-aarch64.tar.gz > /dev/null \
&& mkdir /usr/local/lib/logstash \
&& cp -r logstash-9.2.3/* /usr/local/lib/logstash/ \
&& rm -rf logstash-9.2.3*

# Intermediate Docker image to use.
FROM install_logstash_${TARGETARCH}

# Create system user for Elasticsearch.
RUN useradd -m logstash

# Create Logstash directories.
RUN set -x \
&& mkdir /opt/logstash \
&& mkdir /opt/logstash/data \
&& mkdir /opt/logstash/log \
&& mkdir /opt/logstash/conf \
&& mkdir /opt/logstash/script \
&& mkdir /opt/logstash/system \
&& touch /opt/logstash/system/server.pid \
&& touch /opt/logstash/system/supervisor.ini \
&& ln -sf /opt/logstash/conf/server.yml /usr/local/lib/logstash/config/logstash.yml \
&& ln -sf /opt/logstash/conf/jvm.options /usr/local/lib/logstash/config/jvm.options \
&& ln -sf /opt/logstash/conf/pipelines.yml /usr/local/lib/logstash/config/pipelines.yml \
&& ln -s /opt/logstash/system/supervisor.ini /etc/supervisord.d/logstash.ini \
&& chown -R logstash:logstash /usr/local/lib/logstash \
&& chown -R logstash:logstash /opt/logstash \
&& history -c

# Set default work directory.
WORKDIR /opt/logstash
4 changes: 4 additions & 0 deletions image/logstash/9.2.3/context/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory.
*
# Except this file.
!.gitignore
Loading