aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel <34819524+MarcelCoding@users.noreply.github.com>2021-10-09 21:41:46 +0200
committerGitHub <noreply@github.com>2021-10-09 21:41:46 +0200
commit5d11fd68c6eb62da3aa9d5052653b8c32a7a7c80 (patch)
treeb1bda993a9793a26287e70b3f006a4618fdaa2a8
parent32d6e7db7c510374b7164fecb4511e26a4e25ead (diff)
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
-rw-r--r--Dockerfile2
-rw-r--r--Dockerfile.arm2
-rw-r--r--Dockerfile.arm642
3 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 14d807176..c4acf3c08 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -88,5 +88,5 @@ ENTRYPOINT ["./jellyfin/jellyfin", \
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
- CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \
+ CMD curl http://localhost:$(grep -oP '(?<=HttpServerPortNumber>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \
|| exit 1
diff --git a/Dockerfile.arm b/Dockerfile.arm
index 40aa9f111..f9d249cc1 100644
--- a/Dockerfile.arm
+++ b/Dockerfile.arm
@@ -79,5 +79,5 @@ ENTRYPOINT ["./jellyfin/jellyfin", \
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
- CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \
+ CMD curl http://localhost:$(grep -oP '(?<=HttpServerPortNumber>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \
|| exit 1
diff --git a/Dockerfile.arm64 b/Dockerfile.arm64
index d491e7e1e..cf1a392ea 100644
--- a/Dockerfile.arm64
+++ b/Dockerfile.arm64
@@ -70,5 +70,5 @@ ENTRYPOINT ["./jellyfin/jellyfin", \
"--ffmpeg", "/usr/bin/ffmpeg"]
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
- CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \
+ CMD curl http://localhost:$(grep -oP '(?<=HttpServerPortNumber>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \
|| exit 1