This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 1ae1c1e8253 [v3-1-test] Update healthcheck command syntax for celery
worker (#58861) (#61412)
1ae1c1e8253 is described below
commit 1ae1c1e8253251ddd7c4491b52d99144ab08297b
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Feb 3 20:12:54 2026 +0100
[v3-1-test] Update healthcheck command syntax for celery worker (#58861)
(#61412)
(cherry picked from commit 65d681c72283acb5ac0d652963f24e63a8273e46)
Co-authored-by: Bugra Ozturk <[email protected]>
---
airflow-core/docs/howto/docker-compose/docker-compose.yaml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/airflow-core/docs/howto/docker-compose/docker-compose.yaml
b/airflow-core/docs/howto/docker-compose/docker-compose.yaml
index 89b027f5e88..9b0cbc68bdf 100644
--- a/airflow-core/docs/howto/docker-compose/docker-compose.yaml
+++ b/airflow-core/docs/howto/docker-compose/docker-compose.yaml
@@ -171,9 +171,7 @@ services:
command: celery worker
healthcheck:
# yamllint disable rule:line-length
- test:
- - "CMD-SHELL"
- - 'celery --app airflow.providers.celery.executors.celery_executor.app
inspect ping -d "celery@$${HOSTNAME}" || celery --app
airflow.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}"'
+ test: ["CMD-SHELL", 'celery --app
airflow.providers.celery.executors.celery_executor.app inspect ping -d
"celery@$${HOSTNAME}" || celery --app airflow.executors.celery_executor.app
inspect ping -d "celery@$${HOSTNAME}"']
interval: 30s
timeout: 10s
retries: 5