diff --git a/docker-compose.yaml b/docker-compose.yaml index 5995249..f3362ae 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -371,7 +371,12 @@ services: volumes: - media:/mnt/media healthcheck: - test: ["CMD", "celery", "-A", "mnemosyne", "inspect", "ping", "-d", "celery@$$HOSTNAME"] + # No -d destination: exec-form CMD has no shell, so $$HOSTNAME never + # expanded and the literal "celery@$HOSTNAME" matched no node → every + # check failed. There's one worker per container, so an unfiltered ping + # (any node replies = healthy) is correct. -t gives the reply room to + # round-trip through the broker on Oberon (~450ms observed) under jitter. + test: ["CMD", "celery", "-A", "mnemosyne", "inspect", "ping", "-t", "8"] interval: 60s timeout: 10s retries: 3