docker-airflow icon indicating copy to clipboard operation
docker-airflow copied to clipboard

Add support for restart on watched files.

Open memory opened this issue 4 years ago • 2 comments

If the env variable WATCH_FILES is set, use the entr(1) tool to wrap the entrypoint script to automatically restart the airflow process if a change is detected in any of the watched files.

The use case here is: a sidecar container syncs the dags directory from an external source, and that sync updates /usr/local/airflow/dags/requirements.txt: in this case we would want to restart the airflow process after re-processing the requirements.

memory avatar Mar 12 '20 18:03 memory

Slight nudge; is this functionality that you'd be interested in merging in?

memory avatar Apr 13 '20 19:04 memory

Poke. :)

memory avatar Aug 27 '20 15:08 memory