This commit is contained in:
parent
7d1d8453ce
commit
c1cb3885d7
@ -47,6 +47,6 @@ RUN ulimit -n 30000 && mkdir -p $SEAF/pids && \
|
|||||||
|
|
||||||
ENV SEAF_UPGRADE_INTERVAL=3
|
ENV SEAF_UPGRADE_INTERVAL=3
|
||||||
|
|
||||||
HEALTHCHECK --interval=5m --timeout=30s --start-period=30s CMD curl http://localhost:8000 && curl http://localhost:8082 && bash -c '[ $(curl --silent --output /dev/stderr --write-out "%{http_code}" http://localhost:8080) -eq 401 ]' || exit 1
|
HEALTHCHECK --interval=30s --timeout=30s --start-period=30s CMD (curl http://localhost:8000 || (echo "failed seahub"; exit 1)) && (curl http://localhost:8082 || (echo "failed seafhttp"; exit 1)) && (bash -c '[ $(curl --silent --output /dev/null --write-out "%{http_code}" http://localhost:8080) -eq 401 ]' || (echo "failed seafdav"; exit 1)) || exit 1
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/sbin/riffol", "-f", "/etc/riffol.conf"]
|
ENTRYPOINT ["/usr/sbin/riffol", "-f", "/etc/riffol.conf"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user