mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 22:17:24 +08:00
[bitnami/elasticsearch] Release 8.11.4-debian-11-r0 (#54709)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -9,13 +9,13 @@ ARG TARGETARCH
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2024-01-03T09:53:35Z" \
|
||||
org.opencontainers.image.created="2024-01-11T18:52:27Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="8.11.3-debian-11-r2" \
|
||||
org.opencontainers.image.ref.name="8.11.4-debian-11-r0" \
|
||||
org.opencontainers.image.title="elasticsearch" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="8.11.3"
|
||||
org.opencontainers.image.version="8.11.4"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
@@ -29,9 +29,9 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
RUN install_packages ca-certificates curl libasound2-dev libc6 libfreetype6 libfreetype6-dev libgcc1 procps zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
|
||||
COMPONENTS=( \
|
||||
"yq-4.40.5-0-linux-${OS_ARCH}-debian-11" \
|
||||
"yq-4.40.5-1-linux-${OS_ARCH}-debian-11" \
|
||||
"java-17.0.9-11-6-linux-${OS_ARCH}-debian-11" \
|
||||
"elasticsearch-8.11.3-0-linux-${OS_ARCH}-debian-11" \
|
||||
"elasticsearch-8.11.4-0-linux-${OS_ARCH}-debian-11" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -49,7 +49,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/elasticsearch/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/java/postunpack.sh
|
||||
ENV APP_VERSION="8.11.3" \
|
||||
ENV APP_VERSION="8.11.4" \
|
||||
BITNAMI_APP_NAME="elasticsearch" \
|
||||
ES_JAVA_HOME="/opt/bitnami/java" \
|
||||
JAVA_HOME="/opt/bitnami/java" \
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "8.11.3-0"
|
||||
"version": "8.11.4-0"
|
||||
},
|
||||
"java": {
|
||||
"arch": "amd64",
|
||||
@@ -15,6 +15,6 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "4.40.5-0"
|
||||
"version": "4.40.5-1"
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ fi
|
||||
|
||||
script=$1
|
||||
exit_code="${2:-96}"
|
||||
fail_if_not_present="${3:-y}"
|
||||
fail_if_not_present="${3:-n}"
|
||||
|
||||
if test -f "$script"; then
|
||||
sh $script
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
rolling-tags:
|
||||
- "8"
|
||||
- 8-debian-11
|
||||
- 8.11.3
|
||||
- 8.11.4
|
||||
- latest
|
||||
|
||||
@@ -184,6 +184,85 @@ docker-compose up -d
|
||||
|
||||
### Environment variables
|
||||
|
||||
| Name | Description | Default Value | Can be set |
|
||||
|----------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|------------|
|
||||
| `$DB_FLAVOR` | Database flavor. Valid values: `elasticsearch` or `opensearch`. | `elasticsearch` | |
|
||||
| `$ELASTICSEARCH_VOLUME_DIR` | Persistence base directory | `/bitnami/elasticsearch` | |
|
||||
| `$ELASTICSEARCH_BASE_DIR` | Elasticsearch installation directory | `/opt/bitnami/elasticsearch` | |
|
||||
| `$ELASTICSEARCH_CONF_DIR` | Elasticsearch configuration directory | `${DB_BASE_DIR}/config` | |
|
||||
| `$ELASTICSEARCH_CERTS_DIR` | Path to certificates folder. | `${DB_CONF_DIR}/certs` | ✓ |
|
||||
| `$ELASTICSEARCH_LOGS_DIR` | Elasticsearch logs directory | `${DB_BASE_DIR}/logs` | |
|
||||
| `$ELASTICSEARCH_PLUGINS_DIR` | Elasticsearch plugins directory | `${DB_BASE_DIR}/plugins` | |
|
||||
| `$ELASTICSEARCH_DATA_DIR` | Elasticsearch data directory | `${DB_VOLUME_DIR}/data` | |
|
||||
| `$ELASTICSEARCH_DATA_DIR_LIST` | Comma, semi-colon or space separated list of directories to use for data storage | | ✓ |
|
||||
| `$ELASTICSEARCH_TMP_DIR` | Elasticsearch temporary directory | `${DB_BASE_DIR}/tmp` | |
|
||||
| `$ELASTICSEARCH_BIN_DIR` | Elasticsearch executables directory | `${DB_BASE_DIR}/bin` | |
|
||||
| `$ELASTICSEARCH_MOUNTED_PLUGINS_DIR` | Directory where plugins are mounted | `${DB_VOLUME_DIR}/plugins` | |
|
||||
| `$ELASTICSEARCH_CONF_FILE` | Path to Elasticsearch configuration file | `${DB_CONF_DIR}/elasticsearch.yml` | |
|
||||
| `$ELASTICSEARCH_LOG_FILE` | Path to the Elasticsearch log file | `${DB_LOGS_DIR}/elasticsearch.log` | |
|
||||
| `$ELASTICSEARCH_PID_FILE` | Path to the Elasticsearch pid file | `${DB_TMP_DIR}/elasticsearch.pid` | |
|
||||
| `$ELASTICSEARCH_INITSCRIPTS_DIR` | Path to the Elasticsearch container init scripts directory | `/docker-entrypoint-initdb.d` | |
|
||||
| `$ELASTICSEARCH_DAEMON_USER` | Elasticsearch system user | `elasticsearch` | |
|
||||
| `$ELASTICSEARCH_DAEMON_GROUP` | Elasticsearch system group | `elasticsearch` | |
|
||||
| `$ELASTICSEARCH_BIND_ADDRESS` | Elasticsearch bind address | | ✓ |
|
||||
| `$ELASTICSEARCH_ADVERTISED_HOSTNAME` | Elasticsearch advertised hostname, used for publish | | ✓ |
|
||||
| `$ELASTICSEARCH_CLUSTER_HOSTS` | Elasticsearch cluster hosts | | ✓ |
|
||||
| `$ELASTICSEARCH_CLUSTER_MASTER_HOSTS` | Elasticsearch cluster master hosts | | ✓ |
|
||||
| `$ELASTICSEARCH_CLUSTER_NAME` | Elasticsearch cluster name | | ✓ |
|
||||
| `$ELASTICSEARCH_HEAP_SIZE` | Elasticsearch heap size | `1024m` | ✓ |
|
||||
| `$ELASTICSEARCH_HEAP_SIZE` | Elasticsearch heap size | | ✓ |
|
||||
| `$ELASTICSEARCH_MAX_ALLOWED_MEMORY_PERCENTAGE` | Elasticsearch maximum allowed memory percentage | `100` | ✓ |
|
||||
| `$ELASTICSEARCH_MAX_ALLOWED_MEMORY` | Elasticsearch maximum allowed memory amount (in megabytes) | | ✓ |
|
||||
| `$ELASTICSEARCH_MAX_TIMEOUT` | Elasticsearch maximum init timeout | `60` | ✓ |
|
||||
| `$ELASTICSEARCH_LOCK_ALL_MEMORY` | Sets bootstrap.memory_lock parameter | `no` | ✓ |
|
||||
| `$ELASTICSEARCH_DISABLE_JVM_HEAP_DUMP` | Disable JVM Heap dump | `no` | ✓ |
|
||||
| `$ELASTICSEARCH_DISABLE_GC_LOGS` | Disable GC logs | `no` | ✓ |
|
||||
| `$ELASTICSEARCH_IS_DEDICATED_NODE` | If false, Elasticsearch will be configured with all the roles, deploy as dedicated node using DB_NODE_ROLES. | `no` | ✓ |
|
||||
| `$ELASTICSEARCH_MINIMUM_MASTER_NODES` | Minimum number of master nodes | | ✓ |
|
||||
| `$ELASTICSEARCH_NODE_NAME` | Elasticsearch node name | | ✓ |
|
||||
| `$ELASTICSEARCH_FS_SNAPSHOT_REPO_PATH` | Elasticsearch node port number | | ✓ |
|
||||
| `$ELASTICSEARCH_NODE_ROLES` | Comma-separated list of Elasticsearch roles. If empty, will be deployed as a coordinating-only node. | | ✓ |
|
||||
| `$ELASTICSEARCH_PLUGINS` | List of Elasticsearch plugins to activate | | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_PORT_NUMBER` | Elasticsearch node port number | `9300` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_PORT_NUMBER` | Elasticsearch port | `9200` | ✓ |
|
||||
| `$ELASTICSEARCH_ENABLE_SECURITY` | Enable Elasticsearch security settings. | `false` | ✓ |
|
||||
| `$ELASTICSEARCH_PASSWORD` | Password for "elastic" user. | `bitnami` | ✓ |
|
||||
| `$ELASTICSEARCH_USERNAME` | Username of the Elasticsearch superuser. | `elastic` | |
|
||||
| `$ELASTICSEARCH_TLS_VERIFICATION_MODE` | Elasticsearch TLS verification mode in transport layer. | `full` | ✓ |
|
||||
| `$ELASTICSEARCH_TLS_USE_PEM` | Configure Security settings using PEM certificates. | `false` | ✓ |
|
||||
| `$ELASTICSEARCH_KEYSTORE_PASSWORD` | Password for the Elasticsearch keystore containing the certificates or password-protected PEM key. | | ✓ |
|
||||
| `$ELASTICSEARCH_TRUSTSTORE_PASSWORD` | Password for the Elasticsearch truststore. | | ✓ |
|
||||
| `$ELASTICSEARCH_KEY_PASSWORD` | Password for the Elasticsearch node PEM key. | | ✓ |
|
||||
| `$ELASTICSEARCH_KEYSTORE_LOCATION` | Path to Keystore | `${DB_CERTS_DIR}/elasticsearch.keystore.jks` | ✓ |
|
||||
| `$ELASTICSEARCH_TRUSTSTORE_LOCATION` | Path to Truststore. | `${DB_CERTS_DIR}/elasticsearch.truststore.jks` | ✓ |
|
||||
| `$ELASTICSEARCH_NODE_CERT_LOCATION` | Path to PEM node certificate. | `${DB_CERTS_DIR}/tls.crt` | ✓ |
|
||||
| `$ELASTICSEARCH_NODE_KEY_LOCATION` | Path to PEM node key. | `${DB_CERTS_DIR}/tls.key` | ✓ |
|
||||
| `$ELASTICSEARCH_CA_CERT_LOCATION` | Path to CA certificate. | `${DB_CERTS_DIR}/ca.crt` | ✓ |
|
||||
| `$ELASTICSEARCH_SKIP_TRANSPORT_TLS` | Skips transport layer TLS configuration. Useful when deploying single-node clusters. | `false` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_USE_PEM` | Configure transport layer TLS settings using PEM certificates. | `$DB_TLS_USE_PEM` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_KEYSTORE_PASSWORD` | Password for the Elasticsearch transport layer TLS keystore containing the certificates or password-protected PEM key. | `$DB_KEYSTORE_PASSWORD` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_TRUSTSTORE_PASSWORD` | Password for the Elasticsearch transport layer TLS truststore. | `$DB_TRUSTSTORE_PASSWORD` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_KEY_PASSWORD` | Password for the Elasticsearch transport layer TLS node PEM key. | `$DB_KEY_PASSWORD` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_KEYSTORE_LOCATION` | Path to Keystore for transport layer TLS. | `$DB_KEYSTORE_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_TRUSTSTORE_LOCATION` | Path to Truststore for transport layer TLS. | `$DB_TRUSTSTORE_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_NODE_CERT_LOCATION` | Path to PEM node certificate for transport layer TLS. | `$DB_NODE_CERT_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_NODE_KEY_LOCATION` | Path to PEM node key for transport layer TLS. | `$DB_NODE_KEY_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_TRANSPORT_TLS_CA_CERT_LOCATION` | Path to CA certificate for transport layer TLS. | `$DB_CA_CERT_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_ENABLE_REST_TLS` | Enable TLS encryption for REST API communications. | `true` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_USE_PEM` | Configure HTTP TLS settings using PEM certificates. | `$DB_TLS_USE_PEM` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_KEYSTORE_PASSWORD` | Password for the Elasticsearch HTTP TLS keystore containing the certificates or password-protected PEM key. | `$DB_KEYSTORE_PASSWORD` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_TRUSTSTORE_PASSWORD` | Password for the Elasticsearch HTTP TLS truststore. | `$DB_TRUSTSTORE_PASSWORD` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_KEY_PASSWORD` | Password for the Elasticsearch HTTP TLS node PEM key. | `$DB_KEY_PASSWORD` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_KEYSTORE_LOCATION` | Path to Keystore for HTTP TLS. | `$DB_KEYSTORE_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_TRUSTSTORE_LOCATION` | Path to Truststore for HTTP TLS. | `$DB_TRUSTSTORE_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_NODE_CERT_LOCATION` | Path to PEM node certificate for HTTP TLS. | `$DB_NODE_CERT_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_NODE_KEY_LOCATION` | Path to PEM node key for HTTP TLS. | `$DB_NODE_KEY_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_HTTP_TLS_CA_CERT_LOCATION` | Path to CA certificate for HTTP TLS. | `$DB_CA_CERT_LOCATION` | ✓ |
|
||||
| `$ELASTICSEARCH_ENABLE_FIPS_MODE` | Enables FIPS mode of operation | `false` | ✓ |
|
||||
| `$ELASTICSEARCH_KEYS` | Comma-separated list of key=value to be added to the Elasticsearch keystore | | ✓ |
|
||||
| `$ELASTICSEARCH_ACTION_DESTRUCTIVE_REQUIRES_NAME` | Enable action destructive requires name | | ✓ |
|
||||
|
||||
|
||||
When you start the elasticsearch image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. If you want to add a new environment variable:
|
||||
|
||||
* For Docker Compose, add the variable name and value under the application section:
|
||||
@@ -206,43 +285,6 @@ elasticsearch:
|
||||
bitnami/elasticsearch
|
||||
```
|
||||
|
||||
Available variables:
|
||||
|
||||
* `BITNAMI_DEBUG`: Increase verbosity on initialization logs. Default **false**
|
||||
* `ELASTICSEARCH_EXTRA_FLAGS`: Extra command-line arguments for the `elasticsearch` daemon
|
||||
* `ELASTICSEARCH_CLUSTER_NAME`: The Elasticsearch Cluster Name. Default: **elasticsearch-cluster**
|
||||
* `ELASTICSEARCH_CLUSTER_HOSTS`: List of elasticsearch hosts to set the cluster. Available separators are ' ', ',' and ';'. No defaults.
|
||||
* `ELASTICSEARCH_CLUSTER_MASTER_HOSTS`: List of elasticsearch master-eligible hosts. Available separators are ' ', ',' and ';'. If no values are provided, it will have the same value as `ELASTICSEARCH_CLUSTER_HOSTS`.
|
||||
* `ELASTICSEARCH_IS_DEDICATED_NODE`: Elasticsearch node to behave as a 'dedicated node'. Default: **no**
|
||||
* `ELASTICSEARCH_NODE_TYPE`: Elasticsearch node type when behaving as a 'dedicated node'. Valid values: *master*, *data*, *coordinating* or *ingest*.
|
||||
* `ELASTICSEARCH_NODE_NAME`: Elasticsearch node name. No defaults.
|
||||
* `ELASTICSEARCH_BIND_ADDRESS`: Address/interface to bind by Elasticsearch. Default: **0.0.0.0**
|
||||
* `ELASTICSEARCH_PORT_NUMBER`: Elasticsearch port. Default: **9200**
|
||||
* `ELASTICSEARCH_NODE_PORT_NUMBER`: Elasticsearch Node to Node port. Default: **9300**
|
||||
* `ELASTICSEARCH_PLUGINS`: Comma, semi-colon or space separated list of plugins to install at initialization. No defaults.
|
||||
* `ELASTICSEARCH_KEYS`: Comma, semi-colon or space separated list of key-value pairs (key=value) to store. No defaults.
|
||||
* `ELASTICSEARCH_HEAP_SIZE`: Memory used for the Xmx and Xms java heap values. Default: **1024m**
|
||||
* `ELASTICSEARCH_FS_SNAPSHOT_REPO_PATH`: Elasticsearch file system snapshot repository path. No defaults.
|
||||
* `ELASTICSEARCH_DATA_DIR_LIST`: Comma, semi-colon or space separated list of directories to use for data storage. No defaults.
|
||||
|
||||
### Setting up a cluster
|
||||
|
||||
A cluster can easily be setup with the Bitnami Elasticsearch Docker Image using the following environment variables:
|
||||
|
||||
* `ELASTICSEARCH_CLUSTER_NAME`: The Elasticsearch Cluster Name. Default: **elasticsearch-cluster**
|
||||
* `ELASTICSEARCH_CLUSTER_HOSTS`: List of elasticsearch hosts to set the cluster. Available separators are ' ', ',' and ';'. No defaults.
|
||||
* `ELASTICSEARCH_CLIENT_NODE`: Elasticsearch node to behave as a 'smart router' for Kibana app. Default: **false**
|
||||
* `ELASTICSEARCH_NODE_NAME`: Elasticsearch node name. No defaults.
|
||||
* `ELASTICSEARCH_MINIMUM_MASTER_NODES`: Minimum Elasticsearch master nodes for a quorum. No defaults.
|
||||
|
||||
For larger cluster, you can setup 'dedicated nodes' using the following environment variables:
|
||||
|
||||
* `ELASTICSEARCH_IS_DEDICATED_NODE`: Elasticsearch node to behave as a 'dedicated node'. Default: **no**
|
||||
* `ELASTICSEARCH_NODE_TYPE`: Elasticsearch node type when behaving as a 'dedicated node'. Valid values: *master*, *data*, *coordinating* or *ingest*.
|
||||
* `ELASTICSEARCH_CLUSTER_MASTER_HOSTS`: List of elasticsearch master-eligible hosts. Available separators are ' ', ',' and ';'. If no values are provided, it will have the same value as `ELASTICSEARCH_CLUSTER_HOSTS`.
|
||||
|
||||
Find more information about 'dedicated nodes' in the [official documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html).
|
||||
|
||||
#### Step 1: Create a new network
|
||||
|
||||
```console
|
||||
@@ -490,7 +532,7 @@ $ docker-compose up -d
|
||||
|
||||
## Contributing
|
||||
|
||||
We'd love for you to contribute to this Docker image. You can request new features by creating an [issue], or submitting a [pull](https://github.com/bitnami/containers/pulls) request](https://github.com/bitnami/containers/pulls) with your contribution.
|
||||
We'd love for you to contribute to this Docker image. You can request new features by creating an [issue], or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.
|
||||
|
||||
## Issues
|
||||
|
||||
|
||||
Reference in New Issue
Block a user