Skip to content

Commit

Permalink
Add Healthcheck on Docker (thomiceli#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli committed Jan 6, 2024
1 parent 7ce94ee commit 10cf7e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:https://localhost:6157/healthcheck || exit 1
ENTRYPOINT ["./docker/entrypoint.sh"]

0 comments on commit 10cf7e6

Please sign in to comment.