From 340007d928c8aaaa693166a3228e3f9b4435add4 Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Fri, 6 Feb 2026 21:19:48 +0100 Subject: [PATCH] Try to find the error --- docker-compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index cdc9969..4296dc3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,3 +14,26 @@ services: redis: image: redis:latest container_name: dispatcharr_redis + + celery: + image: ghcr.io/dispatcharr/dispatcharr:latest + container_name: dispatcharr_celery + depends_on: + - db + - redis + volumes: + - /var/lib/docker/volumes/dispatcharr/celery/:/app + extra_hosts: + - "host.docker.internal:host-gateway" + environment: + - POSTGRES_HOST=db + - POSTGRES_DB=dispatcharr + - POSTGRES_USER=dispatch + - POSTGRES_PASSWORD=secret + - REDIS_HOST=redis + - CELERY_BROKER_URL=redis://redis:6379/0 + command: > + bash -c " + cd /app && + nice -n 5 celery -A dispatcharr worker -l info + " \ No newline at end of file