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 \
|
||||
&& 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", "--"]
|
||||
|
Loading…
Reference in New Issue
Block a user