fix(docs): Update Airflow Docker environment variables (#11974)

This commit is contained in:
Akash Jain 2023-06-13 23:08:32 +05:30 committed by GitHub
parent 2e5560926d
commit c96e239b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 22 deletions

View File

@ -3,8 +3,8 @@ AIRFLOW__API__AUTH_BACKENDS="airflow.api.auth.backend.basic_auth,airflow.api.aut
AIRFLOW__CORE__EXECUTOR="LocalExecutor" AIRFLOW__CORE__EXECUTOR="LocalExecutor"
AIRFLOW__OPENMETADATA_AIRFLOW_APIS__DAG_GENERATED_CONFIGS="/opt/airflow/dag_generated_configs" AIRFLOW__OPENMETADATA_AIRFLOW_APIS__DAG_GENERATED_CONFIGS="/opt/airflow/dag_generated_configs"
# MySQL Environment Variables for ingestion service # MySQL Environment Variables for ingestion service
DB_HOST="mysql" AIRFLOW_DB_HOST="mysql"
DB_PORT="3306" AIRFLOW_DB_PORT="3306"
AIRFLOW_DB="AIRFLOW_DB:-airflow_db" AIRFLOW_DB="AIRFLOW_DB:-airflow_db"
AIRFLOW_DB_SCHEME="mysql+pymysql" AIRFLOW_DB_SCHEME="mysql+pymysql"
DB_USER="airflow_user" DB_USER="airflow_user"

View File

@ -4,8 +4,8 @@ AIRFLOW__CORE__EXECUTOR="LocalExecutor"
AIRFLOW__OPENMETADATA_AIRFLOW_APIS__DAG_GENERATED_CONFIGS="/opt/airflow/dag_generated_configs" AIRFLOW__OPENMETADATA_AIRFLOW_APIS__DAG_GENERATED_CONFIGS="/opt/airflow/dag_generated_configs"
# PostgreSQL Environment Variables for ingestion service # PostgreSQL Environment Variables for ingestion service
DB_HOST="postgresql" AIRFLOW_DB_HOST="postgresql"
DB_PORT="5432" AIRFLOW_DB_PORT="5432"
AIRFLOW_DB="airflow_db" AIRFLOW_DB="airflow_db"
DB_USER="airflow_user" DB_USER="airflow_user"
DB_SCHEME="postgresql+psycopg2" DB_SCHEME="postgresql+psycopg2"

View File

@ -183,12 +183,12 @@ If you are planning on going to PROD, we recommend to validate below points:
``` ```
# MySQL Environment Variables for ingestion service # MySQL Environment Variables for ingestion service
DB_HOST: '<DB_HOST_NAME>' AIRFLOW_DB_HOST='<DB_HOST_NAME>'
DB_PORT: '<DB_PORT>' AIRFLOW_DB_PORT='<DB_PORT>'
AIRFLOW_DB: '<AIRFLOW_DATABASE>' AIRFLOW_DB='<AIRFLOW_DATABASE>'
AIRFLOW_DB_SCHEME: '<AIRFLOW_DB_SCHEME>' AIRFLOW_DB_SCHEME='<AIRFLOW_DB_SCHEME>'
DB_USER: '<AIRFLOW_DB_USER>' DB_USER='<AIRFLOW_DB_USER>'
DB_PASSWORD: '<AIRFLOW_DB_PASSWORD>' DB_PASSWORD='<AIRFLOW_DB_PASSWORD>'
``` ```
Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command. Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command.

View File

@ -154,12 +154,12 @@ If you are planning on going to PROD, we recommend to validate below points:
- Update the environment variables below for OpenMetadata-Ingestion Docker Compose backed systems to connect with Database. - Update the environment variables below for OpenMetadata-Ingestion Docker Compose backed systems to connect with Database.
``` ```
# MySQL Environment Variables for ingestion service # MySQL Environment Variables for ingestion service
DB_HOST: '<DB_HOST_NAME>' AIRFLOW_DB_HOST='<DB_HOST_NAME>'
DB_PORT: '<DB_PORT>' AIRFLOW_DB_PORT='<DB_PORT>'
AIRFLOW_DB: '<AIRFLOW_DATABASE>' AIRFLOW_DB='<AIRFLOW_DATABASE>'
AIRFLOW_DB_SCHEME: '<AIRFLOW_DB_SCHEME>' AIRFLOW_DB_SCHEME='<AIRFLOW_DB_SCHEME>'
DB_USER: '<AIRFLOW_DB_USER>' DB_USER='<AIRFLOW_DB_USER>'
DB_PASSWORD: '<AIRFLOW_DB_PASSWORD>' DB_PASSWORD='<AIRFLOW_DB_PASSWORD>'
``` ```
Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command. Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command.

View File

@ -154,12 +154,12 @@ If you are planning on going to PROD, we recommend to validate below points:
- Update the environment variables below for OpenMetadata-Ingestion Docker Compose backed systems to connect with Database. - Update the environment variables below for OpenMetadata-Ingestion Docker Compose backed systems to connect with Database.
``` ```
# MySQL Environment Variables for ingestion service # MySQL Environment Variables for ingestion service
DB_HOST: '<DB_HOST_NAME>' AIRFLOW_DB_HOST='<DB_HOST_NAME>'
DB_PORT: '<DB_PORT>' AIRFLOW_DB_PORT='<DB_PORT>'
AIRFLOW_DB: '<AIRFLOW_DATABASE>' AIRFLOW_DB='<AIRFLOW_DATABASE>'
AIRFLOW_DB_SCHEME: '<AIRFLOW_DB_SCHEME>' AIRFLOW_DB_SCHEME='<AIRFLOW_DB_SCHEME>'
DB_USER: '<AIRFLOW_DB_USER>' DB_USER='<AIRFLOW_DB_USER>'
DB_PASSWORD: '<AIRFLOW_DB_PASSWORD>' DB_PASSWORD='<AIRFLOW_DB_PASSWORD>'
``` ```
Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command. Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command.