Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:54:28.000Z (about 1 year ago)
- Last Synced: 2024-05-02T06:07:34.798Z (9 months ago)
- Topics: airflow, apache-airflow, docker, docker-compose, duyetdev
- Language: Python
- Size: 6.84 KB
- Stars: 6
- 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![Airflow in Docker Compose](https://1.bp.blogspot.com/-vBHaHxwvMFw/XWQHodWBFeI/AAAAAAABGCg/Hdlx-I1PSx8_Gip6o7N_2mejUSsT2TCigCLcBGAs/s1600/Screen%2BShot%2B2019-08-26%2Bat%2B11.22.59%2BPM.png)