mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
build: seperate worker process
This commit is contained in:
parent
ddd44a86bb
commit
db10c884e8
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:
|
||||
|
Loading…
Reference in New Issue
Block a user