Шаг 3 из 7

Конфиг для supervisord:

[program:airflow_webserver]
command=/home/airflow/.airflow_venv/bin/airflow webserver -p 8080 --worker-timeout 60 -w 2 --hostname 127.0.0.1
directory=/home/airflow/airflow/
user=airflow
autostart=true
autorestart=true
redirect_stderr=True
stdout_logfile=/home/airflow/airflow/logs/webserver.log
stderr_logfile=/home/airflow/airflow/logs/webserver.error.log

[program:airflow_scheduler]
command=/home/airflow/.airflow_venv/bin/airflow scheduler
directory=/home/airflow/airflow/
user=airflow
autostart=true
autorestart=true
redirect_stderr=True
stdout_logfile=/home/airflow/airflow/logs/scheduler.log
stderr_logfile=/home/airflow/airflow/logs/scheduler.error.log

Комментарии

В [program:airflow_scheduler] следует поправить user=airflow, в соотвествии с видео)

Поправил, спасибо!) 👌