healthcheck (#2314)

@MarcPartensky  thanks, please check out the comment on your other PR. Cheers
This commit is contained in:
Marc Partensky
2022-03-09 03:02:07 +01:00
committed by GitHub
parent 1c7a6e9fef
commit c5e17be6db

View File

@@ -60,5 +60,7 @@ USER beef
# Expose UI, Proxy, WebSocket server, and WebSocketSecure server
EXPOSE 3000 6789 61985 61986
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "curl", "-fS", "localhost:3000" ]
ENTRYPOINT ["/beef/beef"]
# ------------------------------------- End of Builder 1 -------------------------------------------------