Skip to content
Example how to run Airflow in Docker Compose
Python Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dags
Dockerfile
LICENSE
README.md
docker-compose.yaml

README.md

Airflow in Docker Compose

Blog article in Vietnamese: https://blog.duyet.net/2019/08/airflow-docker-compose.html

.
├── dags
│   └── first_dag.py
├── Dockerfile
└── docker-compose.yaml
  1. 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
# ...
  1. Put your DAG files to dags/
  2. Visit: http://localhost:8080

Airflow in Docker Compose

You can’t perform that action at this time.