File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ FROM ghcr.io/daemonless/base:${BASE_VERSION}
44ARG FREEBSD_ARCH=amd64
55ARG UPSTREAM_URL="https://plex.tv/api/downloads/5.json"
66ARG UPSTREAM_JQ=".computer.FreeBSD.version"
7+ ARG HEALTHCHECK_ENDPOINT="http://localhost:32400/identity"
8+
9+ ENV HEALTHCHECK_URL="${HEALTHCHECK_ENDPOINT}"
710
811LABEL org.opencontainers.image.title="Plex Media Server" \
912 org.opencontainers.image.description="Plex Media Server on FreeBSD" \
@@ -17,7 +20,8 @@ LABEL org.opencontainers.image.title="Plex Media Server" \
1720 io.daemonless.arch="${FREEBSD_ARCH}" \
1821 io.daemonless.category="Media Servers" \
1922 io.daemonless.upstream-url="${UPSTREAM_URL}" \
20- io.daemonless.upstream-jq="${UPSTREAM_JQ}"
23+ io.daemonless.upstream-jq="${UPSTREAM_JQ}" \
24+ io.daemonless.healthcheck-url="${HEALTHCHECK_ENDPOINT}"
2125
2226# VERSION options:
2327# container - use baked version, no updates (default)
@@ -44,7 +48,7 @@ RUN PLEX_URL="https://plex.tv/downloads/latest/1?channel=16&build=freebsd-x86_64
4448COPY root/ /
4549
4650# Make scripts executable
47- RUN chmod +x /healthz / etc/services.d/plex/run /etc/services.d/plex/finish /etc/cont-init.d/* 2>/dev/null || true
51+ RUN chmod +x /etc/services.d/plex/run /etc/services.d/plex/finish /etc/cont-init.d/* 2>/dev/null || true
4852
4953# Plex ports (matching official pms-docker)
5054EXPOSE 32400/tcp 8324/tcp 32469/tcp 1900/udp 32410/udp 32412/udp 32413/udp 32414/udp
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments