mirror of
https://github.com/bitnami/containers.git
synced 2026-02-13 07:47:15 +08:00
[bitnami/airflow-worker] Release 2.8.2-debian-12-r3 (#63554)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -7,10 +7,10 @@ ARG TARGETARCH
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2024-03-04T19:27:07Z" \
|
||||
org.opencontainers.image.created="2024-03-06T00:39:32Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="2.8.2-debian-12-r2" \
|
||||
org.opencontainers.image.ref.name="2.8.2-debian-12-r3" \
|
||||
org.opencontainers.image.title="airflow-worker" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="2.8.2"
|
||||
|
||||
@@ -28,6 +28,7 @@ airflow_worker_env_vars=(
|
||||
AIRFLOW_RAW_FERNET_KEY
|
||||
AIRFLOW_FERNET_KEY
|
||||
AIRFLOW_SECRET_KEY
|
||||
AIRFLOW_FORCE_OVERWRITE_CONF_FILE
|
||||
AIRFLOW_WEBSERVER_HOST
|
||||
AIRFLOW_WEBSERVER_PORT_NUMBER
|
||||
AIRFLOW_HOSTNAME_CALLABLE
|
||||
@@ -79,6 +80,7 @@ export AIRFLOW_EXECUTOR="${AIRFLOW_EXECUTOR:-SequentialExecutor}"
|
||||
export AIRFLOW_RAW_FERNET_KEY="${AIRFLOW_RAW_FERNET_KEY:-}"
|
||||
export AIRFLOW_FERNET_KEY="${AIRFLOW_FERNET_KEY:-}"
|
||||
export AIRFLOW_SECRET_KEY="${AIRFLOW_SECRET_KEY:-}"
|
||||
export AIRFLOW_FORCE_OVERWRITE_CONF_FILE="${AIRFLOW_FORCE_OVERWRITE_CONF_FILE:-no}"
|
||||
export AIRFLOW_WEBSERVER_HOST="${AIRFLOW_WEBSERVER_HOST:-127.0.0.1}"
|
||||
export AIRFLOW_WEBSERVER_PORT_NUMBER="${AIRFLOW_WEBSERVER_PORT_NUMBER:-8080}"
|
||||
export AIRFLOW_HOSTNAME_CALLABLE="${AIRFLOW_HOSTNAME_CALLABLE:-}"
|
||||
|
||||
@@ -115,7 +115,7 @@ airflow_initialize() {
|
||||
done
|
||||
|
||||
# The configuration file is not persisted. If it is not provided, generate it based on env vars
|
||||
if [[ ! -f "$AIRFLOW_CONF_FILE" ]]; then
|
||||
if [[ ! -f "$AIRFLOW_CONF_FILE" ]] || is_boolean_yes "$AIRFLOW_FORCE_OVERWRITE_CONF_FILE"; then
|
||||
info "No injected configuration file found. Creating default config file"
|
||||
airflow_generate_config
|
||||
else
|
||||
|
||||
@@ -72,7 +72,7 @@ airflow_worker_initialize() {
|
||||
done
|
||||
|
||||
# The configuration file is not persisted. If it is not provided, generate it based on env vars
|
||||
if [[ ! -f "$AIRFLOW_CONF_FILE" ]]; then
|
||||
if [[ ! -f "$AIRFLOW_CONF_FILE" ]] || is_boolean_yes "$AIRFLOW_FORCE_OVERWRITE_CONF_FILE"; then
|
||||
info "No injected configuration file found. Creating default config file"
|
||||
airflow_worker_generate_config
|
||||
else
|
||||
|
||||
@@ -288,24 +288,25 @@ This container supports the installation of additional python modules at start-u
|
||||
|
||||
#### Customizable environment variables
|
||||
|
||||
| Name | Description | Default Value |
|
||||
|---------------------------------|-------------------------------------------------------------------|----------------------|
|
||||
| `AIRFLOW_EXECUTOR` | Airflow executor. | `SequentialExecutor` |
|
||||
| `AIRFLOW_EXECUTOR` | Airflow executor. | `CeleryExecutor` |
|
||||
| `AIRFLOW_WEBSERVER_HOST` | Airflow webserver host | `127.0.0.1` |
|
||||
| `AIRFLOW_WEBSERVER_PORT_NUMBER` | Airflow webserver port. | `8080` |
|
||||
| `AIRFLOW_HOSTNAME_CALLABLE` | Method to obtain the hostname. | `socket.gethostname` |
|
||||
| `AIRFLOW_DATABASE_HOST` | Hostname for PostgreSQL server. | `postgresql` |
|
||||
| `AIRFLOW_DATABASE_HOST` | Hostname for PostgreSQL server. | `127.0.0.1` |
|
||||
| `AIRFLOW_DATABASE_PORT_NUMBER` | Port used by PostgreSQL server. | `5432` |
|
||||
| `AIRFLOW_DATABASE_NAME` | Database name that Airflow will use to connect with the database. | `bitnami_airflow` |
|
||||
| `AIRFLOW_DATABASE_USERNAME` | Database user that Airflow will use to connect with the database. | `bn_airflow` |
|
||||
| `AIRFLOW_DATABASE_USE_SSL` | Set to yes if the database is using SSL. | `no` |
|
||||
| `AIRFLOW_REDIS_USE_SSL` | Set to yes if Redis(R) uses SSL. | `no` |
|
||||
| `REDIS_HOST` | Hostname for Redis(R) server. | `redis` |
|
||||
| `REDIS_HOST` | Hostname for Redis(R) server. | `127.0.0.1` |
|
||||
| `REDIS_PORT_NUMBER` | Port used by Redis(R) server. | `6379` |
|
||||
| `REDIS_DATABASE` | Name of the Redis(R) database. | `1` |
|
||||
| Name | Description | Default Value |
|
||||
|-------------------------------------|-------------------------------------------------------------------|----------------------|
|
||||
| `AIRFLOW_EXECUTOR` | Airflow executor. | `SequentialExecutor` |
|
||||
| `AIRFLOW_EXECUTOR` | Airflow executor. | `CeleryExecutor` |
|
||||
| `AIRFLOW_FORCE_OVERWRITE_CONF_FILE` | Force the airflow.cfg config file generation. | `no` |
|
||||
| `AIRFLOW_WEBSERVER_HOST` | Airflow webserver host | `127.0.0.1` |
|
||||
| `AIRFLOW_WEBSERVER_PORT_NUMBER` | Airflow webserver port. | `8080` |
|
||||
| `AIRFLOW_HOSTNAME_CALLABLE` | Method to obtain the hostname. | `socket.gethostname` |
|
||||
| `AIRFLOW_DATABASE_HOST` | Hostname for PostgreSQL server. | `postgresql` |
|
||||
| `AIRFLOW_DATABASE_HOST` | Hostname for PostgreSQL server. | `127.0.0.1` |
|
||||
| `AIRFLOW_DATABASE_PORT_NUMBER` | Port used by PostgreSQL server. | `5432` |
|
||||
| `AIRFLOW_DATABASE_NAME` | Database name that Airflow will use to connect with the database. | `bitnami_airflow` |
|
||||
| `AIRFLOW_DATABASE_USERNAME` | Database user that Airflow will use to connect with the database. | `bn_airflow` |
|
||||
| `AIRFLOW_DATABASE_USE_SSL` | Set to yes if the database is using SSL. | `no` |
|
||||
| `AIRFLOW_REDIS_USE_SSL` | Set to yes if Redis(R) uses SSL. | `no` |
|
||||
| `REDIS_HOST` | Hostname for Redis(R) server. | `redis` |
|
||||
| `REDIS_HOST` | Hostname for Redis(R) server. | `127.0.0.1` |
|
||||
| `REDIS_PORT_NUMBER` | Port used by Redis(R) server. | `6379` |
|
||||
| `REDIS_DATABASE` | Name of the Redis(R) database. | `1` |
|
||||
|
||||
#### Read-only environment variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user