1
0
mirror of https://github.com/thomiceli/opengist synced 2024-11-08 12:55:50 +01:00

Add Healthcheck on Docker (#204)

This commit is contained in:
Thomas Miceli 2024-01-05 22:29:01 +01:00
parent 7ce94eea59
commit 10cf7e6e25

@ -49,4 +49,5 @@ COPY --from=build --chown=opengist:opengist /opengist/docker ./docker
EXPOSE 6157 2222
VOLUME /opengist
HEALTHCHECK --interval=60s --timeout=30s --start-period=15s --retries=3 CMD curl -f http://localhost:6157/healthcheck || exit 1
ENTRYPOINT ["./docker/entrypoint.sh"]