mirror of
https://github.com/bitnami/containers.git
synced 2026-10-21 22:43:44 +02:00
adding REDIS_DATABASE env var (#11)
* adding REDIS_DATABASE env var, this allows defining an alterative redis database number so that a redis server can be shared by multiple consumers Signed-off-by: Travis W Thompson <travis@tmdc.io> * adding signed off Signed-off-by: Travis W Thompson <travis@tmdc.io> Co-authored-by: Travis W Thompson <travis@tmdc.io>
This commit is contained in:
committed by
Bitnami Containers
co-authored by
Travis W Thompson
parent
04590d1f7e
commit
479291db27
+2
@@ -38,6 +38,7 @@ airflow_scheduler_env_vars=(
|
||||
AIRFLOW_REDIS_USE_SSL
|
||||
REDIS_HOST
|
||||
REDIS_PORT_NUMBER
|
||||
REDIS_DATABASE
|
||||
REDIS_USER
|
||||
REDIS_PASSWORD
|
||||
)
|
||||
@@ -89,6 +90,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:-}"
|
||||
|
||||
|
||||
@@ -315,6 +315,7 @@ The Apache Airflow Scheduler instance can be customized by specifying environmen
|
||||
- `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 Apache Airflow Scheduler will use to connect with Redis(TM). No defaults.
|
||||
- `REDIS_PASSWORD`: Password that Apache Airflow Scheduler will use to connect with Redis(TM). No defaults.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user