23 lines
820 B
JSON
23 lines
820 B
JSON
{
|
|
"name": "airflow",
|
|
"title": "Apache Airflow",
|
|
"description": "Scheduled pipelines. DAGs live in the room, under dags/.",
|
|
"image": "apache/airflow:2.10.4",
|
|
"service": "airflow",
|
|
"rig_addon": "airflow",
|
|
"ports": [8080],
|
|
"volumes": ["airflow_logs"],
|
|
"depends_on": ["postgres", "redis"],
|
|
"env": {
|
|
"AIRFLOW_PORT": "8080",
|
|
"AIRFLOW_ADMIN_USER": "admin",
|
|
"AIRFLOW_ADMIN_PASSWORD": "change-me",
|
|
"AIRFLOW_DAGS_DIR": "./dags"
|
|
},
|
|
"notes": [
|
|
"Brings postgres and redis with it — Airflow needs a metadata database and a broker, and will not start without both.",
|
|
"LocalExecutor by default: one container, no separate worker. Switch to CeleryExecutor in service.yml when the room outgrows it.",
|
|
"8080 collides with almost everything. Set AIRFLOW_PORT in the room's .env."
|
|
]
|
|
}
|