Skip to content

Commit

Permalink
Fix HEALTHCHECK
Browse files Browse the repository at this point in the history
  • Loading branch information
p1gp1g committed Oct 25, 2024
1 parent a3946d3 commit c63f378
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Containerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ RUN apk add --no-cache ca-certificates

COPY --from=builder /app/target/release/mollysocket /usr/local/bin/
HEALTHCHECK --interval=1m --timeout=3s \
CMD wget -q --tries=1 "http://$MOLLY_HOST:$MOLLY_PORT/" -O - | grep '"mollysocket":{"version":'
CMD wget -q --tries=1 "http://$MOLLY_HOST:$MOLLY_PORT/discover" -O - | grep '"mollysocket":{"version":'
ENTRYPOINT ["/usr/local/bin/mollysocket"]
2 changes: 1 addition & 1 deletion Containerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ RUN apt update && \

COPY --from=builder /app/target/release/mollysocket /usr/local/bin/
HEALTHCHECK --interval=1m --timeout=3s \
CMD wget -q --tries=1 "http://$MOLLY_HOST:$MOLLY_PORT/" -O - | grep '"mollysocket":{"version":'
CMD wget -q --tries=1 "http://$MOLLY_HOST:$MOLLY_PORT/discover" -O - | grep '"mollysocket":{"version":'
ENTRYPOINT ["/usr/local/bin/mollysocket"]

0 comments on commit c63f378

Please sign in to comment.