1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update airflow

This commit is contained in:
kev 2019-09-14 07:45:48 +08:00
parent da22d70ffc
commit 3293d8852d

View File

@ -23,10 +23,10 @@ airflow
# On Master
$ docker-compose up -d
$ chmod 777 data/airflow/dags
$ docker-compose exec webserver cp -r /usr/local/lib/python3.6/site-packages/airflow/example_dags 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.6/site-packages/airflow/example_dags dags
$ docker-compose exec worker cp -r /usr/local/lib/python3.7/site-packages/airflow/example_dags dags
```