diff --git a/bitnami/airflow-worker/2/debian-10/rootfs/opt/bitnami/scripts/airflow-worker-env.sh b/bitnami/airflow-worker/2/debian-10/rootfs/opt/bitnami/scripts/airflow-worker-env.sh index 6779766d3c59..6d9d462cb0a7 100644 --- a/bitnami/airflow-worker/2/debian-10/rootfs/opt/bitnami/scripts/airflow-worker-env.sh +++ b/bitnami/airflow-worker/2/debian-10/rootfs/opt/bitnami/scripts/airflow-worker-env.sh @@ -38,6 +38,7 @@ airflow_worker_env_vars=( AIRFLOW_REDIS_USE_SSL REDIS_HOST REDIS_PORT_NUMBER + REDIS_DATABASE REDIS_USER REDIS_PASSWORD ) @@ -88,6 +89,7 @@ export AIRFLOW_DATABASE_USE_SSL="${AIRFLOW_DATABASE_USE_SSL:-no}" export AIRFLOW_REDIS_USE_SSL="${AIRFLOW_REDIS_USE_SSL:-no}" export REDIS_HOST="${REDIS_HOST:-redis}" export REDIS_PORT_NUMBER="${REDIS_PORT_NUMBER:-6379}" +export REDIS_DATABASE="${REDIS_DATABASE:-1}" export REDIS_USER="${REDIS_USER:-}" export REDIS_PASSWORD="${REDIS_PASSWORD:-}" diff --git a/bitnami/airflow-worker/README.md b/bitnami/airflow-worker/README.md index effdb5e030e3..64a96d05473d 100644 --- a/bitnami/airflow-worker/README.md +++ b/bitnami/airflow-worker/README.md @@ -316,6 +316,7 @@ The Airflow Worker instance can be customized by specifying environment variable - `AIRFLOW_REDIS_USE_SSL`: Set to yes if Redis(TM) uses SSL. Default: **no** - `REDIS_HOST`: Hostname for Redis(TM) server. Default: **redis** - `REDIS_PORT_NUMBER`: Port used by Redis(TM) server. Default: **6379** +- `REDIS_DATABASE`: Database number for Redis(TM) server. Default: **1** - `REDIS_USER`: User that Airflow Worker will use to connect with Redis(TM). No defaults. - `REDIS_PASSWORD`: Password that Airflow Worker will use to connect with Redis(TM). No defaults.