From 6071b217bc7cb69d89a34415111cbb0cdf4c78f1 Mon Sep 17 00:00:00 2001 From: wvffle Date: Mon, 28 Nov 2022 14:01:36 +0000 Subject: [PATCH] Add celery worker to Gitpod --- .gitpod.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitpod.yml b/.gitpod.yml index 0f6e92857..bf490fe26 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -31,6 +31,14 @@ tasks: poetry run python manage.py collectstatic --no-input poetry run python manage.py gitpod dev + - name: Celery Worker + env: + ENV_FILE: /workspace/funkwhale/.gitpod/.env + before: cd api + command: | + gp ports await 5000 + poetry run celery -A funkwhale_api.taskapp worker -l debug -B --concurrency=0 + - name: Frontend env: VUE_EDITOR: code