Skip to content

Commit

Permalink
Add a health check to the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Oct 26, 2017
1 parent 8f391c8 commit 7d3fa3b
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 @@ -17,4 +17,5 @@ ENV PIPELINE2_LOCAL=false \
PIPELINE2_AUTH_CLIENTKEY=clientid \
PIPELINE2_AUTH_CLIENTSECRET=sekret
EXPOSE 8181
HEALTHCHECK --interval=30s --timeout=10s --start-period=1m CMD curl --fail http://localhost:8181/ws/alive || exit 1
ENTRYPOINT ["/opt/daisy-pipeline2/bin/pipeline2"]

0 comments on commit 7d3fa3b

Please sign in to comment.