mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-09-08 18:13:52 +00:00
Add simple HEALTHCHECK
This commit is contained in:
parent
2bc01ff2a0
commit
f6eb4eeefc
@ -26,6 +26,8 @@ RUN set -ax \
|
|||||||
&& chmod +x /usr/sbin/start_pms \
|
&& chmod +x /usr/sbin/start_pms \
|
||||||
&& find /tmp -mindepth 1 -delete
|
&& find /tmp -mindepth 1 -delete
|
||||||
|
|
||||||
|
HEALTHCHECK --interval=30s --timeout=12s CMD wget -O /dev/null -T 10 -q localhost:32400/identity || exit 1
|
||||||
|
|
||||||
WORKDIR /usr/lib/plexmediaserver
|
WORKDIR /usr/lib/plexmediaserver
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
|
Loading…
Reference in New Issue
Block a user