Try to find the error
This commit is contained in:
@@ -14,3 +14,26 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
container_name: dispatcharr_redis
|
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
|
||||||
|
"
|
||||||
Reference in New Issue
Block a user