Apache Airflow tutorial 코드입니다.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Clone this repo
- Install the prerequisites
- Run the service
- Check http://localhost:8080
- Done! 🎉
- Install Docker
- Install Docker Compose
- Following the Airflow release from Python Package Index
Docker Service with make
cli
make init
# Build the image
# docker build . -t airflow:2.4.3
make start
# Docker compose up
# docker-compose -f docker-compose.yml up -d
make stop
# Docker compose down
# docker-compose down --volumes
Check http://localhost:8080/
User: airflow
Password: airflow
DAG Creation BoilerPlate CLI
make create
example
? dag name movie_etl
? description 영화평점 데이터 etl 작업 dag
? owner hwalim
? retries 3
? retry delay minutes 1
? start date (ex. 2023, 1, 1, 17, 30) 2023, 1, 1, 17, 30
? schedule interval @daily
? catchup False
? tags etl