mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Add docker healthcheck (#8006)
* Add docker healthcheck * Fix unknown start-interval * Add HEALTHCHECK for tensorrt and bump default start-period * Move healthcheck to deps stage
This commit is contained in:
1 parent
67a5a7d21a
commit
3a460133d4
2 files changed
+7
-1
No files matched your search
@@ -24,3 +24,6 @@ COPY --from=trt-deps /usr/local/lib/libyolo_layer.so /usr/local/lib/libyolo_laye
|
||||
COPY --from=trt-deps /usr/local/src/tensorrt_demos /usr/local/src/tensorrt_demos
|
||||
COPY docker/tensorrt/detector/rootfs/ /
|
||||
ENV YOLO_MODELS="yolov7-320"
|
||||
|
||||
HEALTHCHECK --start-period=600s --start-interval=5s --interval=15s --timeout=5s --retries=3 \
|
||||
CMD curl --fail --silent --show-error http://127.0.0.1:5000/api/version || exit 1
|
||||
Reference in new issue
Block a user