Blog article in Vietnamese: https://blog.duyet.net/2019/08/airflow-docker-compose.html
.
├── dags
│ └── first_dag.py
├── Dockerfile
└── docker-compose.yaml
- Start Airflow:
docker-compose up
# Recreating airflow_webserver_1 ... done
# Starting airflow_scheduler_1 ... done
# Attaching to airflow_postgres_1, airflow_scheduler_1, airflow_webserver_1
# scheduler_1 | Mon Aug 26 16:19:56 UTC 2019 - waiting for Postgres... 1/20
# webserver_1 | Mon Aug 26 16:19:56 UTC 2019 - waiting for Postgres... 1/20
# ...
- Put your DAG files to
dags/
- Visit: http://localhost:8080