This is an example repository for Airflow.
From: https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html
- Docker Compose (2.1.1):
brew install docker-compose
orbrew upgrade docker-compose
- Hint: the Airflow
docker-compose.yaml
requires some new features from the newdocker-compose
spec. If you have errors running the setup steps, check the version of docker-compose to verify you have version 2.1.1 (docker-compose --version
)
- Hint: the Airflow
- Docker
Download the latest Airflow docker-compose.yaml
curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.2.2/docker-compose.yaml'
Run it:
docker-compose up
View it in the browser:
open http://localhost:8080
Username/password = airflow/airflow
- Run through the offical Tutorial
- HINT: add new DAGs in the
./dags
directory (it is mounted as a volume)
- This takes up a fair bit of energy. Make sure you designate 4GB Memory for Docker (Docker > Preferences > Resources)