1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-02 03:37:40 +02:00
dockerfiles/airflow
2019-09-14 07:45:48 +08:00
..
docker-compose-master.yml upgrade airflow to 1.10.4 2019-09-08 06:29:47 +08:00
docker-compose-worker.yml upgrade airflow to 1.10.4 2019-09-08 06:29:47 +08:00
README.md update airflow 2019-09-14 07:45:48 +08:00

airflow

How It Works

                   +---------+
              +--> | Worker1 |
 redis        |    +---------+
 postgres     |
+--------+    |    +---------+
| Master | <--+--> | Worker2 |
+--------+    |    +---------+
 webserver    |
 scheduler    |    +---------+
 flower       +--> | Worker3 |
                   +---------+

Quick Start

# On Master
$ docker-compose up -d
$ chmod 777 data/airflow/dags
$ docker-compose exec webserver cp -r /usr/local/lib/python3.7/site-packages/airflow/example_dags dags

# On Workers
$ docker-compose up -d
$ chmod 777 data/airflow/dags
$ docker-compose exec worker cp -r /usr/local/lib/python3.7/site-packages/airflow/example_dags dags