first commit

This commit is contained in:
2026-01-27 14:00:02 +01:00
commit 0b310be3b2
26 changed files with 4162 additions and 0 deletions

15
backend/app/worker.py Normal file
View File

@@ -0,0 +1,15 @@
from celery import Celery
import os
redis_url = os.getenv("REDIS_URL", "redis://redis:6379/0")
celery_app = Celery(
"worker",
broker=redis_url,
backend=redis_url
)
@celery_app.task
def test_task():
return "Worker is running"