
The relevant part of the docker-compose file of yours should look similar Specifically when you want to add your own requirement file,Ĭomment out the image. You can - following the previous chapter, automatically build and use your custom image when you Will start much slower - each additional dependency will further delay your containers start up time).Īlso it is completely unnecessary, because docker compose has the development workflow built-in. Starting the original airflow image, but this has a number of side effects (for example your containers For development, you might be tempted to add it dynamically when you are Usual case for custom images, is when you want to add a set of requirements to it - usually stored in Special case - adding dependencies via requirements.txt file ¶ If you need to install a new Python library or system library, you can build your image. This file uses the latest Airflow image ( apache/airflow). plugins - you can put your custom plugins here. config - you can add custom log parser or add airflow_local_settings.py to configure cluster policy. logs - contains logs from task execution and scheduler. dags - you can put your DAG files here. Some directories in the container are mounted, which means that their contents are synchronized between your computer and the container. For more information, see Architecture Overview.

It is available at All these services allow you to run Airflow with CeleryExecutor. docker compose up flower.įlower - The flower app for monitoring the environment. docker compose -profile flower up, or by explicitly specifying it on the command line e.g. Optionally, you can enable flower by adding -profile flower option, e.g. Redis - The redis - broker that forwards messages from scheduler to worker.

ModuleNotFoundError: No module named 'XYZ'.Special case - adding dependencies via requirements.txt file.Export dynamic environment variables available for operators to use.(Optional) Adding IDE auto-completion support.

Customize view of Apache from Airflow web UI.Customizing DAG Scheduling with Timetables.Configuring Flask Application for Airflow Webserver.Add tags to DAGs and use it for filtering in the UI.
