new processing

This commit is contained in:
2025-05-22 18:18:50 -05:00
parent 1b05ae48ad
commit 991047d286
7 changed files with 3972 additions and 912 deletions

View File

@@ -64,7 +64,7 @@ if ! grep -q "API_TOKEN" "$ENV_FILE"; then
fi
# Prüfen, ob das Python-Script existiert
API_SCRIPT="s3_email_downloader_api.py"
API_SCRIPT="s3_email_processor_api.py"
if [ ! -f "$API_SCRIPT" ]; then
echo "Fehler: $API_SCRIPT nicht gefunden!"
exit 1
@@ -72,4 +72,4 @@ fi
# API im Produktionsmodus mit Gunicorn starten
echo "Starte S3 Email Downloader API auf Port $PORT..."
exec gunicorn --bind "0.0.0.0:$PORT" --workers 2 "s3_email_downloader_api:app"
exec gunicorn --bind "0.0.0.0:$PORT" --workers 2 "s3_email_processor_api:app"