[bitnami/opensearch-dashboards] Release 1.3.14-debian-11-r2 (#55107)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2024-01-20 03:11:03 +01:00 committed by GitHub
parent d9f1d020d5
commit c05680b03c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 65 additions and 50 deletions

View File

@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-12-24T09:31:11Z" \
org.opencontainers.image.created="2024-01-20T01:11:40Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="1.3.14-debian-11-r1" \
org.opencontainers.image.ref.name="1.3.14-debian-11-r2" \
org.opencontainers.image.title="opensearch-dashboards" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="1.3.14"
@ -27,7 +27,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl libgcc-s1 libstdc++6 procps
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" \
"opensearch-dashboards-1.3.14-0-linux-${OS_ARCH}-debian-11" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
@ -42,6 +42,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
RUN apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
COPY rootfs /
RUN /opt/bitnami/scripts/opensearch-dashboards/postunpack.sh

View File

@ -1,22 +0,0 @@
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
version: "2"
services:
opensearch:
image: docker.io/bitnami/opensearch:1
volumes:
- "opensearch_data:/bitnami/opensearch"
opensearch-dashboards:
image: docker.io/bitnami/opensearch-dashboards:1
ports:
- "5601:5601"
volumes:
- "opensearch_dashboards_data:/bitnami/opensearch-dashboards"
depends_on:
- opensearch
volumes:
opensearch_data:
driver: local
opensearch_dashboards_data:
driver: local

View File

@ -9,6 +9,6 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "4.40.5-0"
"version": "4.40.5-1"
}
}

View File

@ -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

View File

@ -10,14 +10,7 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
## TL;DR
```console
docker run -it --name opensearch-dashboards bitnami/opensearch-dashboards
```
### Docker Compose
```console
curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/opensearch-dashboards/docker-compose.yml > docker-compose.yml
docker-compose up -d
docker run -it --name opensearch-dashboards bitnami/opensearch-dashboards:latest
```
## Why use Bitnami Images?
@ -73,20 +66,12 @@ Bitnami provides up-to-date versions of OpenSearch Dashboards, including securit
docker pull bitnami/opensearch-dashboards:latest
```
or if you're using Docker Compose, update the value of the image property to `bitnami/opensearch-dashboards:latest`.
#### Step 2: Remove the currently running container
```console
docker rm -v opensearch-dashboards
```
or using Docker Compose:
```console
docker-compose rm -v opensearch-dashboards
```
#### Step 3: Run the new image
Re-create your container from the new image.
@ -95,14 +80,59 @@ Re-create your container from the new image.
docker run --name opensearch-dashboards bitnami/opensearch-dashboards:latest
```
or using Docker Compose:
```console
docker-compose up opensearch-dashboards
```
## Configuration
### Environment variables
#### Customizable environment variables
| Name | Description | Default Value |
|----------------------------------------------------------|-------------------------------------------------------------------------------------|-----------------------------------------------------------------|
| `OPENSEARCH_DASHBOARDS_OPENSEARCH_URL` | Opensearch URL. Provide Client node url in the case of a cluster | `opensearch` |
| `OPENSEARCH_DASHBOARDS_OPENSEARCH_URL` | Opensearch URL. Provide Client node url in the case of a cluster | `127.0.0.1` |
| `OPENSEARCH_DASHBOARDS_OPENSEARCH_PORT_NUMBER` | Elasticsearch port | `9200` |
| `OPENSEARCH_DASHBOARDS_HOST` | Opensearch Dashboards host | `0.0.0.0` |
| `OPENSEARCH_DASHBOARDS_PORT_NUMBER` | Opensearch Dashboards port | `5601` |
| `OPENSEARCH_DASHBOARDS_WAIT_READY_MAX_RETRIES` | Max retries to wait for Opensearch Dashboards to be ready | `30` |
| `OPENSEARCH_DASHBOARDS_INITSCRIPTS_START_SERVER` | Whether to start the Opensearch Dashboards server before executing the init scripts | `yes` |
| `OPENSEARCH_DASHBOARDS_FORCE_INITSCRIPTS` | Whether to force the execution of the init scripts | `no` |
| `OPENSEARCH_DASHBOARDS_DISABLE_STRICT_CSP` | Disable strict Content Security Policy (CSP) for Opensearch Dashboards | `no` |
| `OPENSEARCH_DASHBOARDS_CERTS_DIR` | Path to certificates folder. | `${SERVER_CONF_DIR}/certs` |
| `OPENSEARCH_DASHBOARDS_SERVER_ENABLE_TLS` | Enable TLS for inbound connections via HTTPS. | `false` |
| `OPENSEARCH_DASHBOARDS_SERVER_KEYSTORE_LOCATION` | Path to Keystore | `${SERVER_CERTS_DIR}/server/opensearch-dashboards.keystore.p12` |
| `OPENSEARCH_DASHBOARDS_SERVER_TLS_USE_PEM` | Configure Opensearch Dashboards server TLS settings using PEM certificates. | `false` |
| `OPENSEARCH_DASHBOARDS_SERVER_CERT_LOCATION` | Path to PEM node certificate. | `${SERVER_CERTS_DIR}/server/tls.crt` |
| `OPENSEARCH_DASHBOARDS_SERVER_KEY_LOCATION` | Path to PEM node key. | `${SERVER_CERTS_DIR}/server/tls.key` |
| `OPENSEARCH_DASHBOARDS_OPENSEARCH_ENABLE_TLS` | Enable TLS for Opensearch communications. | `false` |
| `OPENSEARCH_DASHBOARDS_OPENSEARCH_TLS_VERIFICATION_MODE` | Opensearch TLS verification mode. | `full` |
| `OPENSEARCH_DASHBOARDS_OPENSEARCH_TRUSTSTORE_LOCATION` | Path to Opensearch Truststore. | `${SERVER_CERTS_DIR}/opensearch/opensearch.truststore.p12` |
| `OPENSEARCH_DASHBOARDS_OPENSEARCH_TLS_USE_PEM` | Configure Opensearch TLS settings using PEM certificates. | `false` |
| `OPENSEARCH_DASHBOARDS_OPENSEARCH_CA_CERT_LOCATION` | Path to Opensearch CA certificate. | `${SERVER_CERTS_DIR}/opensearch/ca.crt` |
| `APACHE_OPENSEARCH_DASHBOARDS_USERNAME` | Kibana user to configure basic authentication | `user` |
| `APACHE_OPENSEARCH_DASHBOARDS_PASSWORD` | Kibana password to configure basic authentication | `bitnami` |
#### Read-only environment variables
| Name | Description | Value |
|------------------------------------------|-----------------------------------------------------------------------------------------------|------------------------------------------------|
| `SERVER_FLAVOR` | Server flavor. Valid values: `kibana` or `opensearch-dashboards`. | `opensearch-dashboards` |
| `BITNAMI_VOLUME_DIR` | Directory where to mount volumes | `/bitnami` |
| `OPENSEARCH_DASHBOARDS_VOLUME_DIR` | Opensearch Dashboards persistence directory | `${BITNAMI_VOLUME_DIR}/opensearch-dashboards` |
| `OPENSEARCH_DASHBOARDS_BASE_DIR` | Opensearch Dashboards installation directory | `${BITNAMI_ROOT_DIR}/opensearch-dashboards` |
| `OPENSEARCH_DASHBOARDS_CONF_DIR` | Opensearch Dashboards configuration directory | `${SERVER_BASE_DIR}/config` |
| `OPENSEARCH_DASHBOARDS_LOGS_DIR` | Opensearch Dashboards logs directory | `${SERVER_BASE_DIR}/logs` |
| `OPENSEARCH_DASHBOARDS_TMP_DIR` | Opensearch Dashboards temporary directory | `${SERVER_BASE_DIR}/tmp` |
| `OPENSEARCH_DASHBOARDS_BIN_DIR` | Opensearch Dashboards executable directory | `${SERVER_BASE_DIR}/bin` |
| `OPENSEARCH_DASHBOARDS_PLUGINS_DIR` | Opensearch Dashboards plugins directory | `${SERVER_BASE_DIR}/plugins` |
| `OPENSEARCH_DASHBOARDS_DATA_DIR` | Opensearch Dashboards data directory | `${SERVER_VOLUME_DIR}/data` |
| `OPENSEARCH_DASHBOARDS_MOUNTED_CONF_DIR` | Directory for including custom configuration files (that override the default generated ones) | `${SERVER_VOLUME_DIR}/conf` |
| `OPENSEARCH_DASHBOARDS_CONF_FILE` | Path to Opensearch Dashboards configuration file | `${SERVER_CONF_DIR}/opensearch_dashboards.yml` |
| `OPENSEARCH_DASHBOARDS_LOG_FILE` | Path to the Opensearch Dashboards log file | `${SERVER_LOGS_DIR}/opensearch-dashboards.log` |
| `OPENSEARCH_DASHBOARDS_PID_FILE` | Path to the Opensearch Dashboards pid file | `${SERVER_TMP_DIR}/opensearch-dashboards.pid` |
| `OPENSEARCH_DASHBOARDS_INITSCRIPTS_DIR` | Path to the Opensearch Dashboards container init scripts directory | `/docker-entrypoint-initdb.d` |
| `OPENSEARCH_DASHBOARDS_DAEMON_USER` | Opensearch Dashboards system user | `opensearch-dashboards` |
| `OPENSEARCH_DASHBOARDS_DAEMON_GROUP` | Opensearch Dashboards system group | `opensearch-dashboards` |
### Running commands
To run commands inside this container you can use `docker run`, for example to execute `opensearch-dashboards --help` you can follow the example below:
@ -113,6 +143,12 @@ docker run --rm --name opensearch-dashboards bitnami/opensearch-dashboards:lates
Check the [official OpenSearch Dashboards documentation](https://opensearch.org/docs/) for more information about how to use OpenSearch Dashboards.
## Notable Changes
### Starting January 16, 2024
* The `docker-compose.yaml` file has been removed, as it was solely intended for internal testing purposes.
## Contributing
We'd love for you to contribute to this Docker image. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.
@ -123,7 +159,7 @@ If you encountered a problem running this container, you can file an [issue](htt
## License
Copyright &copy; 2023 Bitnami
Copyright &copy; 2024 Bitnami
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.