mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
build: seperate worker process
This commit is contained in:
6
apiserver/bin/worker
Executable file
6
apiserver/bin/worker
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
python manage.py migrate
|
||||
|
||||
python manage.py rqworker
|
||||
@@ -71,7 +71,7 @@ services:
|
||||
image: plane-api
|
||||
depends_on:
|
||||
- redis
|
||||
command: python manage.py rqworker
|
||||
command: ./bin/worker
|
||||
links:
|
||||
- redis
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user