specific config for docker to have baked in the image

This commit is contained in:
saint 2024-03-11 08:53:36 +01:00
parent 762163e18a
commit 541da69401
2 changed files with 7 additions and 1 deletions

6
celery_worker_docker.py Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env python
import os
from app import celery, create_app
app = create_app()
app.app_context().push()

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
celery -A celery_worker.celery worker --autoscale=5,1 celery -A celery_worker_docker.celery worker --autoscale=5,1