This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0f8a64ce38f Fix scheduler healthcheck command in docker-compose.yaml 
(#62280)
0f8a64ce38f is described below

commit 0f8a64ce38f5ff55c977f2ceb82c1ddeaf99b2e2
Author: bhasker87 <[email protected]>
AuthorDate: Sat May 9 22:22:32 2026 -0400

    Fix scheduler healthcheck command in docker-compose.yaml (#62280)
---
 airflow-core/docs/howto/docker-compose/docker-compose.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow-core/docs/howto/docker-compose/docker-compose.yaml 
b/airflow-core/docs/howto/docker-compose/docker-compose.yaml
index 8114f5ec8f4..6a8891f3f58 100644
--- a/airflow-core/docs/howto/docker-compose/docker-compose.yaml
+++ b/airflow-core/docs/howto/docker-compose/docker-compose.yaml
@@ -140,7 +140,7 @@ services:
     <<: *airflow-common
     command: scheduler
     healthcheck:
-      test: ["CMD", "curl", "--fail", "http://localhost:8974/health";]
+      test: ["CMD-SHELL", 'airflow jobs check --job-type SchedulerJob 
--hostname "$${HOSTNAME}"']
       interval: 30s
       timeout: 10s
       retries: 5

Reply via email to