feat: beat worker for configuration (#1571)
This commit is contained in:
parent
d759438ebd
commit
2f3970f641
4 changed files with 37 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ USER root
|
|||
RUN apk --no-cache add "bash~=5.2"
|
||||
COPY ./bin ./bin/
|
||||
|
||||
RUN chmod +x ./bin/takeoff ./bin/worker
|
||||
RUN chmod +x ./bin/takeoff ./bin/worker ./bin/beat
|
||||
RUN chmod -R 777 /code
|
||||
|
||||
USER captain
|
||||
|
|
|
|||
5
apiserver/bin/beat
Normal file
5
apiserver/bin/beat
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
python manage.py wait_for_db
|
||||
celery -A plane beat -l info
|
||||
Loading…
Add table
Add a link
Reference in a new issue