Fix Docker healthcheck output
The current healthcheck command results in progress info being output. Add -f/--fail, -s/--silent, -S/--show-error options to avoid progress output, but still show error messages if something goes wrong.
This commit is contained in:
parent
97a1113223
commit
6441cd9436
|
@ -89,4 +89,4 @@ ENTRYPOINT ["./jellyfin/jellyfin", \
|
|||
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
|
||||
CMD curl -Lk "${HEALTHCHECK_URL}" || exit 1
|
||||
CMD curl -Lk -fsS "${HEALTHCHECK_URL}" || exit 1
|
||||
|
|
|
@ -78,4 +78,4 @@ ENTRYPOINT ["./jellyfin/jellyfin", \
|
|||
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
|
||||
CMD curl -Lk "${HEALTHCHECK_URL}" || exit 1
|
||||
CMD curl -Lk -fsS "${HEALTHCHECK_URL}" || exit 1
|
||||
|
|
|
@ -72,4 +72,4 @@ ENTRYPOINT ["./jellyfin/jellyfin", \
|
|||
"--ffmpeg", "/usr/bin/ffmpeg"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
|
||||
CMD curl -Lk "${HEALTHCHECK_URL}" || exit 1
|
||||
CMD curl -Lk -fsS "${HEALTHCHECK_URL}" || exit 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user