From c96e239b368727f79541904c6059d38b38956903 Mon Sep 17 00:00:00 2001 From: Akash Jain <15995028+akash-jain-10@users.noreply.github.com> Date: Tue, 13 Jun 2023 23:08:32 +0530 Subject: [PATCH] fix(docs): Update Airflow Docker environment variables (#11974) --- docker/docker-compose-ingestion/env-mysql | 4 ++-- docker/docker-compose-ingestion/env-postgres | 4 ++-- .../content/v0.13.3/deployment/docker/index.md | 12 ++++++------ .../content/v1.0.0/deployment/docker/index.md | 12 ++++++------ .../v1.1.0-snapshot/deployment/docker/index.md | 12 ++++++------ 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/docker/docker-compose-ingestion/env-mysql b/docker/docker-compose-ingestion/env-mysql index 6507c671112..f17b1d3ea6c 100644 --- a/docker/docker-compose-ingestion/env-mysql +++ b/docker/docker-compose-ingestion/env-mysql @@ -3,8 +3,8 @@ AIRFLOW__API__AUTH_BACKENDS="airflow.api.auth.backend.basic_auth,airflow.api.aut AIRFLOW__CORE__EXECUTOR="LocalExecutor" AIRFLOW__OPENMETADATA_AIRFLOW_APIS__DAG_GENERATED_CONFIGS="/opt/airflow/dag_generated_configs" # MySQL Environment Variables for ingestion service -DB_HOST="mysql" -DB_PORT="3306" +AIRFLOW_DB_HOST="mysql" +AIRFLOW_DB_PORT="3306" AIRFLOW_DB="AIRFLOW_DB:-airflow_db" AIRFLOW_DB_SCHEME="mysql+pymysql" DB_USER="airflow_user" diff --git a/docker/docker-compose-ingestion/env-postgres b/docker/docker-compose-ingestion/env-postgres index 2605895d921..c5fccf6e4b8 100644 --- a/docker/docker-compose-ingestion/env-postgres +++ b/docker/docker-compose-ingestion/env-postgres @@ -4,8 +4,8 @@ AIRFLOW__CORE__EXECUTOR="LocalExecutor" AIRFLOW__OPENMETADATA_AIRFLOW_APIS__DAG_GENERATED_CONFIGS="/opt/airflow/dag_generated_configs" # PostgreSQL Environment Variables for ingestion service -DB_HOST="postgresql" -DB_PORT="5432" +AIRFLOW_DB_HOST="postgresql" +AIRFLOW_DB_PORT="5432" AIRFLOW_DB="airflow_db" DB_USER="airflow_user" DB_SCHEME="postgresql+psycopg2" diff --git a/openmetadata-docs/content/v0.13.3/deployment/docker/index.md b/openmetadata-docs/content/v0.13.3/deployment/docker/index.md index 1f8798178e6..2a51ed89f63 100644 --- a/openmetadata-docs/content/v0.13.3/deployment/docker/index.md +++ b/openmetadata-docs/content/v0.13.3/deployment/docker/index.md @@ -183,12 +183,12 @@ If you are planning on going to PROD, we recommend to validate below points: ``` # MySQL Environment Variables for ingestion service -DB_HOST: '' -DB_PORT: '' -AIRFLOW_DB: '' -AIRFLOW_DB_SCHEME: '' -DB_USER: '' -DB_PASSWORD: '' +AIRFLOW_DB_HOST='' +AIRFLOW_DB_PORT='' +AIRFLOW_DB='' +AIRFLOW_DB_SCHEME='' +DB_USER='' +DB_PASSWORD='' ``` Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command. diff --git a/openmetadata-docs/content/v1.0.0/deployment/docker/index.md b/openmetadata-docs/content/v1.0.0/deployment/docker/index.md index 2f0922cf28a..59755bec87c 100644 --- a/openmetadata-docs/content/v1.0.0/deployment/docker/index.md +++ b/openmetadata-docs/content/v1.0.0/deployment/docker/index.md @@ -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. ``` # MySQL Environment Variables for ingestion service -DB_HOST: '' -DB_PORT: '' -AIRFLOW_DB: '' -AIRFLOW_DB_SCHEME: '' -DB_USER: '' -DB_PASSWORD: '' +AIRFLOW_DB_HOST='' +AIRFLOW_DB_PORT='' +AIRFLOW_DB='' +AIRFLOW_DB_SCHEME='' +DB_USER='' +DB_PASSWORD='' ``` Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command. diff --git a/openmetadata-docs/content/v1.1.0-snapshot/deployment/docker/index.md b/openmetadata-docs/content/v1.1.0-snapshot/deployment/docker/index.md index 2f0922cf28a..59755bec87c 100644 --- a/openmetadata-docs/content/v1.1.0-snapshot/deployment/docker/index.md +++ b/openmetadata-docs/content/v1.1.0-snapshot/deployment/docker/index.md @@ -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. ``` # MySQL Environment Variables for ingestion service -DB_HOST: '' -DB_PORT: '' -AIRFLOW_DB: '' -AIRFLOW_DB_SCHEME: '' -DB_USER: '' -DB_PASSWORD: '' +AIRFLOW_DB_HOST='' +AIRFLOW_DB_PORT='' +AIRFLOW_DB='' +AIRFLOW_DB_SCHEME='' +DB_USER='' +DB_PASSWORD='' ``` Once the environment variables values with the RDS are updated then provide this environment variable file as part of docker compose command.