mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-10 14:57:57 +00:00
fix(docs): Update Airflow Docker environment variables (#11974)
This commit is contained in:
parent
2e5560926d
commit
c96e239b36
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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_HOST_NAME>'
|
||||
DB_PORT: '<DB_PORT>'
|
||||
AIRFLOW_DB: '<AIRFLOW_DATABASE>'
|
||||
AIRFLOW_DB_SCHEME: '<AIRFLOW_DB_SCHEME>'
|
||||
DB_USER: '<AIRFLOW_DB_USER>'
|
||||
DB_PASSWORD: '<AIRFLOW_DB_PASSWORD>'
|
||||
AIRFLOW_DB_HOST='<DB_HOST_NAME>'
|
||||
AIRFLOW_DB_PORT='<DB_PORT>'
|
||||
AIRFLOW_DB='<AIRFLOW_DATABASE>'
|
||||
AIRFLOW_DB_SCHEME='<AIRFLOW_DB_SCHEME>'
|
||||
DB_USER='<AIRFLOW_DB_USER>'
|
||||
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.
|
||||
|
||||
@ -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_HOST_NAME>'
|
||||
DB_PORT: '<DB_PORT>'
|
||||
AIRFLOW_DB: '<AIRFLOW_DATABASE>'
|
||||
AIRFLOW_DB_SCHEME: '<AIRFLOW_DB_SCHEME>'
|
||||
DB_USER: '<AIRFLOW_DB_USER>'
|
||||
DB_PASSWORD: '<AIRFLOW_DB_PASSWORD>'
|
||||
AIRFLOW_DB_HOST='<DB_HOST_NAME>'
|
||||
AIRFLOW_DB_PORT='<DB_PORT>'
|
||||
AIRFLOW_DB='<AIRFLOW_DATABASE>'
|
||||
AIRFLOW_DB_SCHEME='<AIRFLOW_DB_SCHEME>'
|
||||
DB_USER='<AIRFLOW_DB_USER>'
|
||||
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.
|
||||
|
||||
|
||||
@ -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_HOST_NAME>'
|
||||
DB_PORT: '<DB_PORT>'
|
||||
AIRFLOW_DB: '<AIRFLOW_DATABASE>'
|
||||
AIRFLOW_DB_SCHEME: '<AIRFLOW_DB_SCHEME>'
|
||||
DB_USER: '<AIRFLOW_DB_USER>'
|
||||
DB_PASSWORD: '<AIRFLOW_DB_PASSWORD>'
|
||||
AIRFLOW_DB_HOST='<DB_HOST_NAME>'
|
||||
AIRFLOW_DB_PORT='<DB_PORT>'
|
||||
AIRFLOW_DB='<AIRFLOW_DATABASE>'
|
||||
AIRFLOW_DB_SCHEME='<AIRFLOW_DB_SCHEME>'
|
||||
DB_USER='<AIRFLOW_DB_USER>'
|
||||
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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user