Commit 8e2fb50e authored by ∞'s avatar 💻

Migrate before starting uwsgi

parent 131fdd40
......@@ -32,7 +32,7 @@ ARG GIT_COMMIT
ARG GIT_TAG
ENV GIT_COMMIT="${GIT_COMMIT}" GIT_TAG="${GIT_TAG}"
CMD /usr/bin/dumb-init uwsgi \
CMD /usr/bin/dumb-init bash -c "crudlfap migrate --noinput && uwsgi \
--spooler=${UWSGI_SPOOLER_MOUNT}/mail \
--spooler=${UWSGI_SPOOLER_MOUNT}/stat \
--spooler-processes 8 \
......@@ -55,4 +55,4 @@ CMD /usr/bin/dumb-init uwsgi \
--ignore-sigpipe \
--ignore-write-errors \
--disable-write-exception \
--static-map ${STATIC_ROOT}=${STATIC_URL}
--static-map ${STATIC_ROOT}=${STATIC_URL}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment