Add initial implementations for forms and organization apps with serializers, factories, and admin configurations
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
This commit is contained in:
14
docker/scripts/start-celery-worker.sh
Executable file
14
docker/scripts/start-celery-worker.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
export DJANGO_SETTINGS_MODULE="${DJANGO_SETTINGS_MODULE:-settings.production}"
|
||||
|
||||
case "${DJANGO_SETTINGS_MODULE}" in
|
||||
settings.dev|settings.production|settings.test)
|
||||
;;
|
||||
esac
|
||||
|
||||
exec celery -A core worker \
|
||||
--loglevel="${CELERY_LOG_LEVEL:-INFO}" \
|
||||
--concurrency="${CELERY_WORKER_CONCURRENCY:-1}" \
|
||||
--max-memory-per-child="${CELERY_WORKER_MAX_MEMORY_PER_CHILD_KB:-3145728}"
|
||||
Reference in New Issue
Block a user