https://stepik.org/course/181476/syllabus
- Run in the shell
curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.7.1/docker-compose.yaml'
mkdir -p ./dags ./logs ./plugins ./config ./shared
echo -e "AIRFLOW_UID=$(id -u)" > .env
-
Edit your
.env
file, see example in.env_example
-
Run
docker compose up
- Running the CLI commands https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#running-the-cli-commands Shortcuts added to Makefile.
- Run
docker compose stop
to stop containers,docker compose start
to start them - Run
docker compose down && docker compose up
to re-create containers after changingdocker-compose.yaml