Apache Airflow is an open-source platform for orchestrating and scheduling complex data pipelines. It allows you to programmatically author, schedule, and monitor workflows as Directed Acyclic Graphs (DAGs).
Manually copy the import yaml to the import dialog in the Zerops app.
project:
name: Apache Airflow Standalone
tags:
- zerops-recipe
- development
services:
- hostname: airflowstandalone
type: [email protected]
verticalAutoscaling:
minRam: 1
maxContainers: 1
buildFromGit: https://github.com/zeropsio/recipe-airflow
enableSubdomainAccess: true
For production-ready, high-available setup use production import yaml.
- Apache Airflow version
2.10
- Python version
3.12
- Showcase DAG file
- Standalone mode (docs), not recommended for production usage
- Access details can be found in runtime log, look for logs as the following:
standalone | Airflow is ready
standalone | Login with username: admin password: *****
standalone | Airflow Standalone is for development purposes only. Do not use this in production!
Warning
Airflow production setting is currently only experimental, since the shared storage for sharing DAG files is not working properly.
- Data are stored in Postgres
- Celery executor (running on redis)
- DAG files are distributed via shared storage (shared mounted volume)
- Only push to the
airflowdags
service to update your DAG files (either viazcli push airflowdags
or connect your Git with theairflowdags
service), other services will use the files located in the mounted volume - UI access:
- Username:
admin
- Password:
$ADMIN_PASSWORD
generated project environment variable (visible in GUI)
- Username:
- Change worker count
- Decrease scaling resources to minimum
- Change database services mode to
NON_HA
(historical data can be lost)
To use your own data pipelines, simply:
- Fork this repository
- Deploy the project (or the individual services to an existing project) to Zerops
- Replace the insides of
dags
folder with your own pipelines - Push to
airflowdags
service via zCLI or connect theairflowdags
with the forked repository
Need help setting your project up? Join Zerops Discord community.