worker-start.sh 234 B

1234567891011
  1. #! /usr/bin/env bash
  2. export PYTHONPATH=$PYTHONPATH:/usr/lib/python3.8/site-packages/:/app
  3. set -e
  4. export STORAGE_IP=192.168.192.252
  5. #python /app/app/celeryworker_pre_start.py
  6. celery -A app.worker worker -l info -Q main-queue -c 1