2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-11-05 01:16:23 +00:00

Add simple HEALTHCHECK

This commit is contained in:
Joe Groocock 2017-09-20 00:50:12 +01:00
parent 2bc01ff2a0
commit f6eb4eeefc
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -26,6 +26,8 @@ RUN set -ax \
&& chmod +x /usr/sbin/start_pms \
&& 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
ENTRYPOINT ["/sbin/tini", "--"]