mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update airflow
This commit is contained in:
parent
da22d70ffc
commit
3293d8852d
@ -23,10 +23,10 @@ airflow
|
|||||||
# On Master
|
# On Master
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
$ chmod 777 data/airflow/dags
|
$ 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
|
# On Workers
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
$ chmod 777 data/airflow/dags
|
$ 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
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user