- 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