Skip to content

Commit

Permalink
Remove Docker --start-interval healthcheck option
Browse files Browse the repository at this point in the history
Not supported until later, causes Dockerfile build error on some machines
  • Loading branch information
CollinHeist committed Nov 1, 2023
1 parent 516f7fc commit c9ea682
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ RUN \
EXPOSE 4242

# Healthcheck command
HEALTHCHECK --interval=3m --timeout=10s --start-period=3m --start-interval=10s \
# Add --start-interval=10s back in when merged in Docker v24/v25
HEALTHCHECK --interval=3m --timeout=10s --start-period=3m \
CMD curl --fail http://0.0.0.0:4242/api/healthcheck || exit 1

# Entrypoint
Expand Down
2 changes: 1 addition & 1 deletion modules/ref/version_webui
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0-alpha.6.0-webui152
v2.0-alpha.6.0-webui153

0 comments on commit c9ea682

Please sign in to comment.