forked from github/plane
build: remove migration run from Dockerfile
This commit is contained in:
parent
f9b8ee0d50
commit
c7c2c19d5b
@ -129,7 +129,6 @@ USER captain
|
||||
# Expose container port and run entry point script
|
||||
EXPOSE 8000
|
||||
|
||||
RUN python manage.py migrate
|
||||
|
||||
RUN apk --update add supervisor
|
||||
|
||||
|
@ -14,7 +14,7 @@ stdout_logfile_maxbytes = 0
|
||||
|
||||
[program:backend]
|
||||
directory=/app
|
||||
command= gunicorn plane.wsgi -k gthread --workers 8 --bind 0.0.0.0:8000 --config gunicorn.config.py --max-requests 10000 --max-requests-jitter 1000 --access-logfile -
|
||||
command= ./bin/takeoff
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stderr_logfile=/dev/stdout
|
||||
@ -24,7 +24,7 @@ stdout_logfile_maxbytes = 0
|
||||
|
||||
[program:worker]
|
||||
directory=/app
|
||||
command= python manage.py rqworker
|
||||
command= ./bin/worker
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stderr_logfile=/dev/stdout
|
||||
|
Loading…
Reference in New Issue
Block a user