This commit is contained in:
itqop 2024-10-23 00:13:37 +03:00
parent 57db342c61
commit 927394178b
1 changed files with 2 additions and 1 deletions

View File

@ -12,12 +12,13 @@ services:
- CELERY_RESULT_BACKEND=redis://redis:6379/0 - CELERY_RESULT_BACKEND=redis://redis:6379/0
depends_on: depends_on:
- redis - redis
- celery_worker
restart: unless-stopped restart: unless-stopped
celery_worker: celery_worker:
build: . build: .
container_name: celery_worker container_name: celery_worker
command: celery -A app.worker worker --loglevel=info command: celery -A app.tasks worker --loglevel=info
environment: environment:
- MODEL_CHECKPOINT=cointegrated/rubert-tiny-toxicity - MODEL_CHECKPOINT=cointegrated/rubert-tiny-toxicity
- USE_CUDA=False - USE_CUDA=False