mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 18:48:35 +00:00 
			
		
		
		
	 69c9102da1
			
		
	
	
		69c9102da1
		
			
		
	
	
	
	
		
			
			* MINOR - Bump Ingestion versions * MINOR - Bump Ingestion versions * fix * fix db_scheme for airflow +2.9.1 * fix
		
			
				
	
	
		
			63 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| #  Copyright 2021 Collate
 | |
| #  Licensed under the Apache License, Version 2.0 (the "License");
 | |
| #  you may not use this file except in compliance with the License.
 | |
| #  You may obtain a copy of the License at
 | |
| #  http://www.apache.org/licenses/LICENSE-2.0
 | |
| #  Unless required by applicable law or agreed to in writing, software
 | |
| #  distributed under the License is distributed on an "AS IS" BASIS,
 | |
| #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
| #  See the License for the specific language governing permissions and
 | |
| #  limitations under the License.
 | |
| 
 | |
| version: "3.9"
 | |
| volumes:
 | |
|   ingestion-volume-dag-airflow:
 | |
|   ingestion-volume-dags:
 | |
|   ingestion-volume-tmp:
 | |
|   es-data:
 | |
| services:  
 | |
|   ingestion:
 | |
|     container_name: openmetadata_ingestion
 | |
|     image: docker.getcollate.io/openmetadata/ingestion:1.5.0-SNAPSHOT
 | |
|     environment:
 | |
|       AIRFLOW__API__AUTH_BACKENDS: "airflow.api.auth.backend.basic_auth,airflow.api.auth.backend.session"
 | |
|       AIRFLOW__CORE__EXECUTOR: LocalExecutor
 | |
|       AIRFLOW__OPENMETADATA_AIRFLOW_APIS__DAG_GENERATED_CONFIGS: "/opt/airflow/dag_generated_configs"
 | |
|       DB_HOST: ${AIRFLOW_DB_HOST:-mysql}
 | |
|       DB_PORT: ${AIRFLOW_DB_PORT:-3306}
 | |
|       AIRFLOW_DB: ${AIRFLOW_DB:-airflow_db}
 | |
|       DB_SCHEME: ${AIRFLOW_DB_SCHEME:-mysql+mysqldb}
 | |
|       DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
 | |
|       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
 | |
|     command:
 | |
|       - "/opt/airflow/ingestion_dependency.sh"
 | |
|     expose:
 | |
|       - 8080
 | |
|     ports:
 | |
|       - "8080:8080"
 | |
|     networks:
 | |
|       - app_net
 | |
|     volumes:
 | |
|       - ingestion-volume-dag-airflow:/opt/airflow/dag_generated_configs
 | |
|       - ingestion-volume-dags:/opt/airflow/dags
 | |
|       - ingestion-volume-tmp:/tmp
 | |
| 
 | |
| 
 | |
| networks:
 | |
|   app_net:
 | |
|     ipam:
 | |
|       driver: default
 | |
|       config:
 | |
|         - subnet: "172.16.240.0/24"
 |