mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-08 09:01:20 +02:00
Add Healthcheck on Docker (#204)
This commit is contained in:
@ -49,4 +49,5 @@ COPY --from=build --chown=opengist:opengist /opengist/docker ./docker
|
|||||||
|
|
||||||
EXPOSE 6157 2222
|
EXPOSE 6157 2222
|
||||||
VOLUME /opengist
|
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"]
|
ENTRYPOINT ["./docker/entrypoint.sh"]
|
||||||
|
Reference in New Issue
Block a user