Skip to content

Commit

Permalink
Add silent flag to curl for docker healthcheck [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Jul 16, 2024
1 parent ae74bb2 commit c868019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN (\

VOLUME /home/shoko/.shoko/

HEALTHCHECK --start-period=5m CMD curl -H "Content-Type: application/json" -H 'Accept: application/json' 'http://localhost:8111/api/v3/Init/Status' || exit 1
HEALTHCHECK --start-period=5m CMD curl -s -H "Content-Type: application/json" -H 'Accept: application/json' 'http://localhost:8111/api/v3/Init/Status' || exit 1

EXPOSE 8111

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN (\

VOLUME /home/shoko/.shoko/

HEALTHCHECK --start-period=5m CMD curl -H "Content-Type: application/json" -H 'Accept: application/json' 'http://localhost:8111/api/v3/Init/Status' || exit 1
HEALTHCHECK --start-period=5m CMD curl -s -H "Content-Type: application/json" -H 'Accept: application/json' 'http://localhost:8111/api/v3/Init/Status' || exit 1

EXPOSE 8111

Expand Down

0 comments on commit c868019

Please sign in to comment.