| 
									
										
										
										
											2023-03-06 08:58:53 -08:00
										 |  |  | #  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
 | 
					
						
							| 
									
										
										
										
											2023-11-17 11:33:47 +05:30
										 |  |  |     image: docker.getcollate.io/openmetadata/ingestion:1.3.0-SNAPSHOT
 | 
					
						
							| 
									
										
										
										
											2023-03-06 08:58:53 -08:00
										 |  |  |     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}
 | 
					
						
							| 
									
										
										
										
											2023-03-16 12:28:23 +01:00
										 |  |  |       DB_SCHEME: ${AIRFLOW_DB_SCHEME:-mysql+pymysql}
 | 
					
						
							| 
									
										
										
										
											2023-03-06 08:58:53 -08:00
										 |  |  |       DB_USER: ${AIRFLOW_DB_USER:-airflow_user}
 | 
					
						
							|  |  |  |       DB_PASSWORD: ${AIRFLOW_DB_PASSWORD:-airflow_pass}
 | 
					
						
							|  |  |  |     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"
 |