- Run
docker-compose up -d
to start the docker container - Open http://localhost:8080/home in the browser Might take a minute to load Use the default username and password (airflow/airflow) to login if prompted
- Run
docker-compose down
to stop the docker container
USED THIS TUTORIAL: https://www.youtube.com/watch?v=K9AnJ9_ZAXE
Loved it! Super easy to follow.
- Download docker compose file from apache
curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.0.1/docker-compose.yaml'
- Create folders for ./dags, ./logs, ./plugins
mkdir ./dags ./logs ./plugins
- Initialize docker compose
docker-compose up airflow-init
- Start docker compose
docker-compose up -d
- Navigate to http://localhost:8080/ and use the default username and password (airflow/airflow) to login.