https://github.com/duyet/airflow-docker-compose
Example how to run Airflow in Docker Compose
https://github.com/duyet/airflow-docker-compose
airflow apache-airflow docker docker-compose duyetdev
Last synced: about 2 months ago
JSON representation
Example how to run Airflow in Docker Compose
- Host: GitHub
- URL: https://github.com/duyet/airflow-docker-compose
- Owner: duyet
- License: mit
- Created: 2019-08-26T16:28:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:54:28.000Z (over 1 year ago)
- Last Synced: 2025-03-28T02:45:28.943Z (2 months ago)
- Topics: airflow, apache-airflow, docker, docker-compose, duyetdev
- Language: Python
- Size: 6.84 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Airflow in Docker Compose
Blog article in Vietnamese: https://blog.duyet.net/2019/08/airflow-docker-compose.html
```sh
.
├── dags
│ └── first_dag.py
├── Dockerfile
└── docker-compose.yaml
```1. Start Airflow:
```sh
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
# ...
```2. Put your DAG files to `dags/`
3. Visit: http://localhost:8080