From 6b1cc0f5373d2b09b0e48dc589a3fc2ff15a5cfd Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 19 Jan 2024 17:52:27 +0100 Subject: [PATCH] [bitnami/airflow-exporter] Release 0.20220314.0-debian-11-r444 (#54915) Signed-off-by: Bitnami Containers --- .../airflow-exporter/0/debian-11/Dockerfile | 5 +-- .../0/debian-11/docker-compose.yml | 9 ------ bitnami/airflow-exporter/README.md | 31 +++++++++++++++++++ 3 files changed, 34 insertions(+), 11 deletions(-) delete mode 100644 bitnami/airflow-exporter/0/debian-11/docker-compose.yml diff --git a/bitnami/airflow-exporter/0/debian-11/Dockerfile b/bitnami/airflow-exporter/0/debian-11/Dockerfile index 05666a621744..efe5a35111d0 100644 --- a/bitnami/airflow-exporter/0/debian-11/Dockerfile +++ b/bitnami/airflow-exporter/0/debian-11/Dockerfile @@ -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="2024-01-10T01:46:20Z" \ + org.opencontainers.image.created="2024-01-19T16:22:02Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="0.20220314.0-debian-11-r443" \ + org.opencontainers.image.ref.name="0.20220314.0-debian-11-r444" \ org.opencontainers.image.title="airflow-exporter" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="0.20220314.0" @@ -41,6 +41,7 @@ RUN apt-get autoremove --purge -y curl && \ 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 ENV APP_VERSION="0.20220314.0" \ BITNAMI_APP_NAME="airflow-exporter" \ diff --git a/bitnami/airflow-exporter/0/debian-11/docker-compose.yml b/bitnami/airflow-exporter/0/debian-11/docker-compose.yml deleted file mode 100644 index 2a89a8eb03ba..000000000000 --- a/bitnami/airflow-exporter/0/debian-11/docker-compose.yml +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -version: '2' -services: - airflow-exporter: - image: docker.io/bitnami/airflow-exporter:0 - ports: - - 9112:9112 diff --git a/bitnami/airflow-exporter/README.md b/bitnami/airflow-exporter/README.md index e0888d8c160b..50a47bc19d08 100644 --- a/bitnami/airflow-exporter/README.md +++ b/bitnami/airflow-exporter/README.md @@ -88,6 +88,31 @@ We can launch another containers using the same flag (`--network NETWORK`) in th Find all the configuration options in the [Airflow Prometheus Exporter documentation](https://github.com/PBWebMedia/airflow-prometheus-exporter#run). +### Environment variables + +#### Customizable environment variables + +| Name | Description | Default Value | +|-------------------------------------|------------------------------------------|----------------------------------------| +| `AIRFLOW_EXPORTER_BASE_DIR` | airflow-exporter installation directory. | `${BITNAMI_ROOT_DIR}/airflow-exporter` | +| `AIRFLOW_EXPORTER_LOGS_DIR` | airflow-exporter installation directory. | `${AIRFLOW_EXPORTER_BASE_DIR}/logs` | +| `AIRFLOW_EXPORTER_TMP_DIR` | airflow-exporter installation directory. | `${AIRFLOW_EXPORTER_BASE_DIR}/tmp` | +| `AIRFLOW_EXPORTER_DATABASE_BACKEND` | The database backend | `postgres` | +| `AIRFLOW_EXPORTER_DATABASE_HOST` | The hostname of the database | `127.0.0.1` | +| `AIRFLOW_EXPORTER_DATABASE_PORT` | The port of the database | `5432` | +| `AIRFLOW_EXPORTER_DATABASE_USER` | The user of the database | `bn_airflow` | +| `AIRFLOW_EXPORTER_DATABASE_NAME` | The name of the database | `bitnami_airflow` | + +#### Read-only environment variables + +| Name | Description | Value | +|---------------------------------|----------------------------------------------------|-----------------------------------------------------| +| `AIRFLOW_EXPORTER_BIN_DIR` | airflow-exporter directory for binary executables. | `${AIRFLOW_EXPORTER_BASE_DIR}/bin` | +| `AIRFLOW_EXPORTER_DAEMON_USER` | airflow-exporter system user. | `airflow` | +| `AIRFLOW_EXPORTER_DAEMON_GROUP` | airflow-exporter system group. | `airflow` | +| `AIRFLOW_EXPORTER_PID_FILE` | PID file for airflow-exporter service. | `${AIRFLOW_EXPORTER_TMP_DIR}/airflow-exporter.pid` | +| `AIRFLOW_EXPORTER_LOG_FILE` | Log file for airflow-exporter service. | `${AIRFLOW_EXPORTER_LOGS_DIR}/airflow-exporter.log` | + ## Logging The Bitnami Airflow Exporter Docker image sends the container logs to `stdout`. To view the logs: @@ -132,6 +157,12 @@ Re-create your container from the new image. docker run --name airflow-exporter bitnami/airflow-exporter:latest ``` +## 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 container. 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.