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 65d681c7228 Update healthcheck command syntax for celery worker
(#58861)
65d681c7228 is described below
commit 65d681c72283acb5ac0d652963f24e63a8273e46
Author: Bugra Ozturk <[email protected]>
AuthorDate: Sun Nov 30 22:08:52 2025 +0100
Update healthcheck command syntax for celery worker (#58861)
---
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 75dac6fb754..01b15bf9cb8 100644
--- a/airflow-core/docs/howto/docker-compose/docker-compose.yaml
+++ b/airflow-core/docs/howto/docker-compose/docker-compose.yaml
@@ -169,9 +169,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