Home > Blockchain >  Airflow Docker Unhealthy trigerrer
Airflow Docker Unhealthy trigerrer

Time:10-13

Im trying to setup airflow on my machine using docker and the docker-compose file provided by airflow here : https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html#docker-compose-yaml

CONTAINER ID   IMAGE                  COMMAND                  CREATED              STATUS                          PORTS                                                 NAMES
d4d8de8f7782   apache/airflow:2.2.0   "/usr/bin/dumb-init …"   About a minute ago   Up About a minute (healthy)     8080/tcp                                              airflow_airflow-scheduler_1
3315f125949c   apache/airflow:2.2.0   "/usr/bin/dumb-init …"   About a minute ago   Up About a minute (healthy)     8080/tcp                                              airflow_airflow-worker_1
2426795cb59f   apache/airflow:2.2.0   "/usr/bin/dumb-init …"   About a minute ago   Up About a minute (healthy)     0.0.0.0:8080->8080/tcp, :::8080->8080/tcp             airflow_airflow-webserver_1
cf649cd645bb   apache/airflow:2.2.0   "/usr/bin/dumb-init …"   About a minute ago   Up About a minute (unhealthy)   8080/tcp                                              airflow_airflow-triggerer_1
fa6b181113ae   apache/airflow:2.2.0   "/usr/bin/dumb-init …"   About a minute ago   Up About a minute (healthy)     0.0.0.0:5555->5555/tcp, :::5555->5555/tcp, 8080/tcp   airflow_flower_1
b6e05f63aa2c   postgres:13            "docker-entrypoint.s…"   2 minutes ago        Up 2 minutes (healthy)          5432/tcp                                              airflow_postgres_1
177475be25a3   redis:latest           "docker-entrypoint.s…"   2 minutes ago        Up 2 minutes (healthy)          6379/tcp                                              airflow_redis_1

I followed all steps as described in this URL, every airflow component is working great but the airflow trigerrer shows an unhealthy status :/

Im kinda new to docker i just know the basics and i don't really know how to debug that, can anyone help me up ?

CodePudding user response:

Try to follow all steps on their website including mkdir ./dags ./logs ./plugins echo -e "AIRFLOW_UID=$(id -u)\nAIRFLOW_GID=0" > .env.

I don't know but it works then, but still unhealthy,

airflow.apache.org/docs/apache-airflow/stable/start/docker.html

  • Related