Tested the proposed modification to the Docker healthcheck command to support subdirectory root paths to no avail.

Staging changes until a proper resolution is proposed.
This commit is contained in:
Matt Scott 2023-11-24 07:33:58 -05:00
parent 0472aba25e
commit 67085653ae
No known key found for this signature in database
GPG Key ID: A9A0AFFC0E079001

View File

@ -92,6 +92,6 @@ RUN chown ${USER}:${USER} ./configs /app && \
EXPOSE 80/tcp
USER ${USER}
HEALTHCHECK CMD ["wget","--output-document=-","--quiet","--tries=1","http://127.0.0.1/"]
HEALTHCHECK --interval=5s --timeout=5s --start-period=20s --retries=5 CMD ["wget","--output-document=-","--quiet","--tries=1","http://127.0.0.1${SCRIPT_NAME:-/}"]
ENTRYPOINT ["entrypoint.sh"]
CMD ["gunicorn","powerdnsadmin:create_app()"]