|
|
|
|
@ -64,7 +64,7 @@ numprocs=1
|
|
|
|
|
; apps are dynamically loaded by an environment variable. It can lead to issues
|
|
|
|
|
; with docker cache. Thus it is necessary to run collectstatic here for such
|
|
|
|
|
; apps.
|
|
|
|
|
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_POSTGRES_HOST)s:5432 -t 0 -- bash -ic \
|
|
|
|
|
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_POSTGRES_HOST)s:%(ENV_CVAT_POSTGRES_PORT)% -t 0 -- bash -ic \
|
|
|
|
|
"rm -f /tmp/cvat-server/httpd.pid && python3 ~/manage.py migrate && \
|
|
|
|
|
python3 ~/manage.py collectstatic --no-input && \
|
|
|
|
|
exec python3 $HOME/manage.py runmodwsgi --log-to-terminal --port 8080 \
|
|
|
|
|
|