Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save genomics-geek/1cd9b7d747a85b31ddd9bf4f95d30fee to your computer and use it in GitHub Desktop.
Save genomics-geek/1cd9b7d747a85b31ddd9bf4f95d30fee to your computer and use it in GitHub Desktop.
airflow-supervisord.conf
; Configuration for Airflow webserver and scheduler in Supervisor
[program:airflow]
command=/bin/airflow webserver
stopsignal=QUIT
stopasgroup=true
user=airflow
stdout_logfile=/var/log/airflow/airflow-stdout.log
stderr_logfile=/var/log/airflow/airflow-stderr.log
environment=HOME="/home/airflow",AIRFLOW_HOME="/etc/airflow",TMPDIR="/storage/airflow_tmp"
[program:airflowscheduler]
command=/bin/airflow scheduler
stopsignal=QUIT
stopasgroup=true
killasgroup=true
user=airflow
stdout_logfile=/var/log/airflow/airflow-scheduler-stdout.log
stderr_logfile=/var/log/airflow/airflow-scheduler-stderr.log
environment=HOME="/home/airflow",AIRFLOW_HOME="/etc/airflow",TMPDIR="/storage/airflow_tmp"
autorestart=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment