This commit is contained in:
2025-09-15 21:21:34 +00:00
parent a5488dc602
commit 4d586a46e9
10 changed files with 1779 additions and 0 deletions

10
run.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# This script starts the FastAPI application using Gunicorn.
echo "Starting DocProcessor with Gunicorn..."
exec gunicorn -w 1 -k uvicorn.workers.UvicornWorker --forwarded-allow-ips='*' main:app -b 0.0.0.0:8000 &
echo "Done"
echo "Starting huey..."
exec huey_consumer.py main.huey &
echo "Done"