From e357420a7802bf644e25a891b9f58b489e7b5704 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 11 Mar 2023 10:56:31 +0100 Subject: [PATCH] Test --- qbittorrent/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 61f97b395..0ffcc5f30 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -158,3 +158,16 @@ LABEL \ org.opencontainers.image.created=${BUILD_DATE} \ org.opencontainers.image.revision=${BUILD_REF} \ org.opencontainers.image.version=${BUILD_VERSION} + +################# +# 6 Healthcheck # +################# + +ARG WEBUI_PORT="9091" +ARG URL="" +HEALTHCHECK \ + --interval=5s \ + --retries=5 \ + --start-period=30s \ + --timeout=25s \ + CMD pgrep qbittorrent-nox || exit 1 \ No newline at end of file