mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 02:23:53 +02:00
feat: added celery beat to docker
This commit is contained in:
parent
8706df6716
commit
aed8163aee
6 changed files with 134 additions and 16 deletions
|
|
@ -3,7 +3,23 @@ DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/surfsense
|
|||
#Celery Config
|
||||
CELERY_BROKER_URL=redis://localhost:6379/0
|
||||
CELERY_RESULT_BACKEND=redis://localhost:6379/0
|
||||
# Dynamic Periodic task creation uv run celery -A celery_worker.celery_app beat --loglevel=info
|
||||
# Periodic task interval
|
||||
# # Run every minute (default)
|
||||
# SCHEDULE_CHECKER_INTERVAL=1m
|
||||
|
||||
# # Run every 5 minutes
|
||||
# SCHEDULE_CHECKER_INTERVAL=5m
|
||||
|
||||
# # Run every 10 minutes
|
||||
# SCHEDULE_CHECKER_INTERVAL=10m
|
||||
|
||||
# # Run every hour
|
||||
# SCHEDULE_CHECKER_INTERVAL=1h
|
||||
|
||||
# # Run every 2 hours
|
||||
# SCHEDULE_CHECKER_INTERVAL=2h
|
||||
|
||||
SCHEDULE_CHECKER_INTERVAL=5m
|
||||
|
||||
SECRET_KEY=SECRET
|
||||
NEXT_FRONTEND_URL=http://localhost:3000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue