Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 1.01 KB

readme.md

File metadata and controls

37 lines (33 loc) · 1.01 KB

簡介

  • airflow+mysql+rabbitmq
  • 利用docker-compose建構分散式環境
  • 搭配lsyncd進行數據同步

目錄架構

  • 依照文章所述架構目錄
  • 如已架設lsyncd,serverB應會同步產生sample-dag.py,此為避免重複無再添加檔案
|- 單機
|    |- dags    # dags目錄
|    |- logs    # logs目錄
|    |- plugins # plugins目錄
|- 分散式
|    |- serverA # master
|    |	|- data 
|    |	|	|- airflow
|    |	|	|	|- dags
|    |	|	|	|	|- sample-dag.py
|    |	|	|	|- plugins
|    |	|	|- mysql
|    |	|- logs 
|    |	|- docker-compose.yml		
|    |- serverB # worker
|    |	|- data 
|    |	|	|- airflow
|    |	|	|	|- dags
|    |	|	|	|- plugins
|    |	|- logs 
|    |	|- docker-compose_worker.yml

依照文章所述建構airflow