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
.envfile, 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 stopto stop containers,docker compose startto start them - Run
docker compose down && docker compose upto re-create containers after changingdocker-compose.yaml