init commit

This commit is contained in:
2025-08-17 11:44:54 +09:00
commit 5592014530
59 changed files with 3175 additions and 0 deletions

15
app/tasks/celery_app.py Normal file
View File

@@ -0,0 +1,15 @@
from celery import Celery
from app.core.config import settings
celery_app = Celery(
"autopost",
broker=settings.celery_broker_url,
backend=settings.celery_result_backend,
)
celery_app.conf.update(
timezone=settings.tz,
task_serializer="json",
accept_content=["json"],
result_serializer="json",
)