This repository is designed to facilitate the development of Apache Airflow DAGs. It provides a set of Makefile commands that streamline environment setup, initialization, starting, stopping, and destruction of the Airflow environment.
Before getting started, ensure you have the following installed:
- Docker
- Bash
- Make
To set up the Airflow environment, follow these steps:
-
Clone the Repository:
git clone https://github.com/thaddeuscleo/airflow-docker-compose.git cd airflow-docker-compose
-
Initialize Airflow: Initialize Airflow with the command:
make init
This command will start the Docker containers and provide login credentials.
To start the Airflow environment, use:
make start
To stop the Airflow environment, use:
make stop
To completely destroy the Airflow environment and associated volumes, use:
make destroy
-
Username and Password:
- Username:
airflow
- Password:
airflow
- Username:
-
Ensure to modify and add DAGs, plugins, or configurations as required within the Airflow directory.
Feel free to contribute to improve this repository. Create issues for any problems encountered or submit pull requests to enhance functionality.
Feel free to expand upon this template by adding more specific instructions or details about your Airflow setup and any additional configurations that might be necessary for users to know.