diff options
| author | Marcel <34819524+MarcelCoding@users.noreply.github.com> | 2021-10-09 17:00:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-09 17:00:20 +0200 |
| commit | 32d6e7db7c510374b7164fecb4511e26a4e25ead (patch) | |
| tree | 1b29a20ffab290ac381d3227ab4b289729e755f0 /Dockerfile | |
| parent | fe461ff66bd69997014fe190745e44e7696d0167 (diff) | |
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 22041cdc4..14d807176 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ ARG LEVEL_ZERO_VERSION=1.2.20826 # Install dependencies: # mesa-va-drivers: needed for AMD VAAPI. Mesa >= 20.1 is required for HEVC transcoding. -# curl: healcheck +# curl: healthcheck RUN apt-get update \ && apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg wget apt-transport-https curl \ && wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | apt-key add - \ @@ -88,6 +88,5 @@ ENTRYPOINT ["./jellyfin/jellyfin", \ "--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"] HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \ - # https://github.com/jellyfin/jellyfin/issues/5760#issuecomment-852297561 CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \ || exit 1 |
