short intervals
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
shimun 2020-10-06 23:15:22 +02:00
parent 7d1d8453ce
commit c1cb3885d7
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

View File

@ -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"]