From 94428e5fcdaa1ebf56df63ad979197302f6b686d Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Thu, 6 Apr 2023 01:18:08 +0530 Subject: [PATCH] Fixing docker volumes and adding Fixing #7 --- buffalogs/buffalogs/celery.py | 1 - buffalogs/buffalogs/settings/settings.py | 1 + buffalogs/celerybeat-schedule | Bin 0 -> 16384 bytes buffalogs/requirements.txt | 1 + buffalogs/run_beat.sh | 2 +- build/Dockerfile | 3 +-- docker-compose.yaml | 10 ++++------ 7 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 buffalogs/celerybeat-schedule mode change 100644 => 100755 buffalogs/run_beat.sh diff --git a/buffalogs/buffalogs/celery.py b/buffalogs/buffalogs/celery.py index c639b21..0815f01 100644 --- a/buffalogs/buffalogs/celery.py +++ b/buffalogs/buffalogs/celery.py @@ -18,7 +18,6 @@ # Load task modules from all registered Django apps. app.autodiscover_tasks() - # Dump requests @app.task(bind=True) def debug_task(self): diff --git a/buffalogs/buffalogs/settings/settings.py b/buffalogs/buffalogs/settings/settings.py index 19b31a4..6662a61 100644 --- a/buffalogs/buffalogs/settings/settings.py +++ b/buffalogs/buffalogs/settings/settings.py @@ -37,6 +37,7 @@ "django.contrib.messages", "django.contrib.staticfiles", "impossible_travel", + "django_celery_beat" ] MIDDLEWARE = [ diff --git a/buffalogs/celerybeat-schedule b/buffalogs/celerybeat-schedule new file mode 100644 index 0000000000000000000000000000000000000000..1233601a86ef18b5eb01fb7fa5aa21c95b603bb5 GIT binary patch literal 16384 zcmeI3&1(}u7{)ivhV&!B+K3b?r5DMEvaM0^s8Bqmio_IeE}PBZhOC>gyD3c|5HF%I zw@ek(ix=@I{sVgTB%VEa@*@5Pg3jzr(iMWxf-TCkVdtI9X6AYKx9>dcB_E&N$!Uw4 z7M(nZIH%$(5wD3x(|*W+76d>51V8`;KmY_l00ck)1V8`;K;T~_u%?nmlpw$X90UQ> z0qOvCfPDZTfDgb2-~;dh_yBwWKJcIUKvM2%Eu*5gAv?S3`?m|S^CBx_qpU6*BItb1 zPkv0Big8H=9Ka#IKTr=xQxBg%e94>U4#_D0Ti~*%_zC_;!ylZ%SrPyTaEKF-{gu0K zSG%EYUXA%P-Y54t!9OJna5x+X>+$y-@k0Nm+FxnD%+mzkf5toPpmp``O>H^sYuY)* zbA~Up#Lt7S^S6I5o_Ui5Lw&#u@&4-v&9-NnLwzs$7XZ(grY;+0;|epvJ|7izAr6|{ zu5B_ySTgafx=R{E{gE+QZIANW5yyZPXr|-0Z4v~g+rAetx?mHR_&uXetdP;{ZQCJ@ zu1l`-OnPj@3QmHaxFu(7@d-66XfZn5utE|x?~{0U#5U*CU-eY3xSo7|hEcuK3;R5n zBDWDMR@p;VWfhGsD#<`;@hsA|-}XYQE)*-PG*MzsPJBW>W5DXg0dGa0p6qsnw&^#6 zmg$lm;xb1sI4d-_9bKsM@hveNCF;zol+LfsJh{l6tjxe!DpcmBz!ZtoV