This repository provides examples and instructions for setting up PHP within the Apache Airflow platform. PHP is specifically installed on the Airflow worker, where all commands are executed.
- Setting Up Docker Compose: All configurations are managed through
docker-compose.yml
- Dockerfile: PHP configurations for Airflow worker are specified in the
Dockerfile
- Airflow DAGs: All Airflow DAGs are defined in the
dags
folder. - PHP commands: All PHP commands are located in the
commands
folder.
- Run Docker: Run
docker compose up --build
to build and start the Airflow with PHP. - Access Airflow UI: Once the containers are up and running, access the Airflow UI in your web browser on "http://localhost:8080/"
- https://medium.com/@darkotodoric/how-to-configure-php-in-airflow-877e1cd54ebb
- https://dev.to/darkotodoric/how-to-configure-php-in-airflow-5d9i
- https://www.linkedin.com/pulse/how-configure-php-airflow-darko-todori%2525C4%252587-rtxfc/
Contributions are welcome! Feel free to open issues or submit pull requests to improve this project.