feat(docker): healthcheck (#166)
This commit is contained in:
parent
03ced00f63
commit
04120323a6
@ -47,4 +47,5 @@ RUN python manage.py collectstatic --noinput && \
|
|||||||
# Launch
|
# Launch
|
||||||
USER appuser
|
USER appuser
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
HEALTHCHECK CMD bash -c 'wget -o /dev/null -O /dev/null --header "Host: ${ALLOWED_HOSTS%,*}" "http://127.0.0.1:$PORT/healthz/?format=json"'
|
||||||
CMD [ "./entrypoint.sh" ]
|
CMD [ "./entrypoint.sh" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user