Spotix-API / backend /start.sh
Anish-530
Switch to Hugging Face Spaces Docker deployment
b61bb63
#!/bin/bash
# Start the Celery worker in the background
echo "Starting Celery worker..."
celery -A app.worker.celery_app worker --loglevel=info -P solo &
# Start the FastAPI server in the foreground
echo "Starting FastAPI server..."
uvicorn main:app --host 0.0.0.0 --port ${PORT:-7860} --forwarded-allow-ips='*' --proxy-headers