mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 09:22:14 +00:00
fix: Include DB_PROPERTIES
env for docker-compose files (#14264)
This commit is contained in:
parent
ac5c1b11d7
commit
a5a3347fd3
@ -357,6 +357,16 @@ services:
|
|||||||
DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
|
DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
|
||||||
DB_SCHEME: ${AIRFLOW_DB_SCHEME:-postgresql+psycopg2}
|
DB_SCHEME: ${AIRFLOW_DB_SCHEME:-postgresql+psycopg2}
|
||||||
DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
|
DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
|
||||||
|
# extra connection-string properties for the database
|
||||||
|
# EXAMPLE
|
||||||
|
# require SSL (only for Postgres)
|
||||||
|
# properties: "?sslmode=require"
|
||||||
|
DB_PROPERTIES: ${AIRFLOW_DB_PROPERTIES:-""}
|
||||||
|
# To test the lineage backend
|
||||||
|
# AIRFLOW__LINEAGE__BACKEND: airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend
|
||||||
|
# AIRFLOW__LINEAGE__AIRFLOW_SERVICE_NAME: local_airflow
|
||||||
|
# AIRFLOW__LINEAGE__OPENMETADATA_API_ENDPOINT: http://openmetadata-server:8585/api
|
||||||
|
# AIRFLOW__LINEAGE__JWT_TOKEN: ...
|
||||||
entrypoint: /bin/bash
|
entrypoint: /bin/bash
|
||||||
command:
|
command:
|
||||||
- "/opt/airflow/ingestion_dependency.sh"
|
- "/opt/airflow/ingestion_dependency.sh"
|
||||||
|
@ -363,7 +363,7 @@ services:
|
|||||||
# EXAMPLE
|
# EXAMPLE
|
||||||
# require SSL (only for Postgres)
|
# require SSL (only for Postgres)
|
||||||
# properties: "?sslmode=require"
|
# properties: "?sslmode=require"
|
||||||
DB_PROPERTIES: ""
|
DB_PROPERTIES: ${AIRFLOW_DB_PROPERTIES:-""}
|
||||||
|
|
||||||
# To test the lineage backend
|
# To test the lineage backend
|
||||||
# AIRFLOW__LINEAGE__BACKEND: airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend
|
# AIRFLOW__LINEAGE__BACKEND: airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend
|
||||||
|
@ -29,6 +29,16 @@ services:
|
|||||||
DB_SCHEME: ${AIRFLOW_DB_SCHEME:-mysql+pymysql}
|
DB_SCHEME: ${AIRFLOW_DB_SCHEME:-mysql+pymysql}
|
||||||
DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
|
DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
|
||||||
DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
|
DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
|
||||||
|
# extra connection-string properties for the database
|
||||||
|
# EXAMPLE
|
||||||
|
# require SSL (only for Postgres)
|
||||||
|
# properties: "?sslmode=require"
|
||||||
|
DB_PROPERTIES: ${AIRFLOW_DB_PROPERTIES:-""}
|
||||||
|
# To test the lineage backend
|
||||||
|
# AIRFLOW__LINEAGE__BACKEND: airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend
|
||||||
|
# AIRFLOW__LINEAGE__AIRFLOW_SERVICE_NAME: local_airflow
|
||||||
|
# AIRFLOW__LINEAGE__OPENMETADATA_API_ENDPOINT: http://openmetadata-server:8585/api
|
||||||
|
# AIRFLOW__LINEAGE__JWT_TOKEN: ...
|
||||||
entrypoint: /bin/bash
|
entrypoint: /bin/bash
|
||||||
command:
|
command:
|
||||||
- "/opt/airflow/ingestion_dependency.sh"
|
- "/opt/airflow/ingestion_dependency.sh"
|
||||||
|
@ -9,3 +9,4 @@ AIRFLOW_DB="airflow_db"
|
|||||||
AIRFLOW_DB_SCHEME="mysql+pymysql"
|
AIRFLOW_DB_SCHEME="mysql+pymysql"
|
||||||
AIRFLOW_DB_USER="airflow_user"
|
AIRFLOW_DB_USER="airflow_user"
|
||||||
AIRFLOW_DB_PASSWORD="airflow_pass"
|
AIRFLOW_DB_PASSWORD="airflow_pass"
|
||||||
|
AIRFLOW_DB_PROPERTIES=""
|
@ -10,3 +10,4 @@ AIRFLOW_DB="airflow_db"
|
|||||||
DB_USER="airflow_user"
|
DB_USER="airflow_user"
|
||||||
DB_SCHEME="postgresql+psycopg2"
|
DB_SCHEME="postgresql+psycopg2"
|
||||||
DB_PASSWORD="airflow_pass"
|
DB_PASSWORD="airflow_pass"
|
||||||
|
AIRFLOW_DB_PROPERTIES=""
|
||||||
|
@ -368,6 +368,16 @@ services:
|
|||||||
DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
|
DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
|
||||||
DB_SCHEME: ${AIRFLOW_DB_SCHEME:-postgresql+psycopg2}
|
DB_SCHEME: ${AIRFLOW_DB_SCHEME:-postgresql+psycopg2}
|
||||||
DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
|
DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
|
||||||
|
# extra connection-string properties for the database
|
||||||
|
# EXAMPLE
|
||||||
|
# require SSL (only for Postgres)
|
||||||
|
# properties: "?sslmode=require"
|
||||||
|
DB_PROPERTIES: ${AIRFLOW_DB_PROPERTIES:-""}
|
||||||
|
# To test the lineage backend
|
||||||
|
# AIRFLOW__LINEAGE__BACKEND: airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend
|
||||||
|
# AIRFLOW__LINEAGE__AIRFLOW_SERVICE_NAME: local_airflow
|
||||||
|
# AIRFLOW__LINEAGE__OPENMETADATA_API_ENDPOINT: http://openmetadata-server:8585/api
|
||||||
|
# AIRFLOW__LINEAGE__JWT_TOKEN: ...
|
||||||
entrypoint: /bin/bash
|
entrypoint: /bin/bash
|
||||||
command:
|
command:
|
||||||
- "/opt/airflow/ingestion_dependency.sh"
|
- "/opt/airflow/ingestion_dependency.sh"
|
||||||
|
@ -366,6 +366,16 @@ services:
|
|||||||
DB_SCHEME: ${AIRFLOW_DB_SCHEME:-mysql+pymysql}
|
DB_SCHEME: ${AIRFLOW_DB_SCHEME:-mysql+pymysql}
|
||||||
DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
|
DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
|
||||||
DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
|
DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
|
||||||
|
# extra connection-string properties for the database
|
||||||
|
# EXAMPLE
|
||||||
|
# require SSL (only for Postgres)
|
||||||
|
# properties: "?sslmode=require"
|
||||||
|
DB_PROPERTIES: ${AIRFLOW_DB_PROPERTIES:-""}
|
||||||
|
# To test the lineage backend
|
||||||
|
# AIRFLOW__LINEAGE__BACKEND: airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend
|
||||||
|
# AIRFLOW__LINEAGE__AIRFLOW_SERVICE_NAME: local_airflow
|
||||||
|
# AIRFLOW__LINEAGE__OPENMETADATA_API_ENDPOINT: http://openmetadata-server:8585/api
|
||||||
|
# AIRFLOW__LINEAGE__JWT_TOKEN: ...
|
||||||
entrypoint: /bin/bash
|
entrypoint: /bin/bash
|
||||||
command:
|
command:
|
||||||
- "/opt/airflow/ingestion_dependency.sh"
|
- "/opt/airflow/ingestion_dependency.sh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user