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
|
image: plane-api
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
command: python manage.py rqworker
|
command: ./bin/worker
|
||||||
links:
|
links:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user