/apache_airflow_docker

Apache airflow packed in docker compose

Primary LanguagePython

Apache airflow quick start in docker

Clone project

git clone git@github.com:dorokhin/apache_airflow_docker.git
cd apache_airflow_docker

Setting the right Airflow user

echo -e "AIRFLOW_UID=$(id -u)" > .env

Initialize the database

docker compose up airflow-init

After initialization is complete, you should see a message like this:

airflow-init_1       | Upgrades done
airflow-init_1       | Admin user airflow created
airflow-init_1       | 2.8.1
start_airflow-init_1 exited with code 0

Running Airflow

docker compose up -d

To stop and delete containers, delete volumes with database data and download images, run:

docker compose down --volumes --rmi all

Links: