Yousefxp8/ml-inference-api
0
1 2services:3 4 api:5 build: .6 7 environment:8 REDIS_URL: redis://redis:6379/09 10 ports:11 - "8000:8000"12 13 command: >14 uvicorn main:app15 --host 0.0.0.016 --port 800017 18 depends_on:19 - redis20 21 worker:22 build: .23 24 environment:25 REDIS_URL: redis://redis:6379/026 27 command: >28 celery -A app.workers.inference_worker worker29 --pool=threads30 --concurrency=831 --loglevel=info32 33 depends_on:34 - redis35 36 redis:37 image: redis:latest38 39 40 ports:41 - "6379:6379"42 