Skip to content

Commit

Permalink
Add Healthcheck on Docker (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli committed Jan 5, 2024
1 parent 7ce94ee commit 1c8ee48
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://localhost:6157/healthcheck || exit 1
ENTRYPOINT ["./docker/entrypoint.sh"]

0 comments on commit 1c8ee48

Please sign in to comment.