bootstrap/specs/airflow/template
Joshua Potter 0b6764b2fc Add Apache airflow dev shell. 2024-01-21 10:59:38 -07:00
..
.githooks Add Apache airflow dev shell. 2024-01-21 10:59:38 -07:00
dags Add Apache airflow dev shell. 2024-01-21 10:59:38 -07:00
.envrc Add Apache airflow dev shell. 2024-01-21 10:59:38 -07:00
.gitignore Add Apache airflow dev shell. 2024-01-21 10:59:38 -07:00
README.md Add Apache airflow dev shell. 2024-01-21 10:59:38 -07:00
flake.lock Add Apache airflow dev shell. 2024-01-21 10:59:38 -07:00
flake.nix Add Apache airflow dev shell. 2024-01-21 10:59:38 -07:00

README.md

Airflow Dev Shell

This is a small flake template for experimenting with Apache Airflow (version 2.7.3). direnv can be used to a launch a dev shell upon entering this directory (refer to .envrc). Otherwise run via:

$ nix develop

Once your environment has booted, you can get started with the UI by running:

$ airflow standalone

The webserver lives at localhost:8080 by default. The username is admin and the generated password can be found by running:

$ cat airflow/standalone_admin_password.txt

or looking through the console output.

A basic DAG is included in the top-level dags/ directory. Airflow discovers this DAG with the help of the AIRFLOW__CORE__DAGS_FOLDER environment variable, set within the nix dev shell.