From b924dd2bbb7068731ecef67ebad74ba2b86eeff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20S=C3=A1nchez?= Date: Tue, 29 Sep 2020 11:54:26 +0200 Subject: [PATCH] Added Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c3b4ddb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM alpine:3.11 + +# Installing required packages +RUN apk add --update --no-cache \ + python3 + +# Install package +RUN pip3 install prometheus-qbittorrent-exporter==1.0.1 + +ENV QBITTORRENT_HOST="" +ENV QBITTORRENT_PORT="" +ENV QBITTORRENT_USER="" +ENV QBITTORRENT_PASS="" +ENV EXPORTER_PORT="8000" +ENV EXPORTER_LOG_LEVEL="INFO" + +ENTRYPOINT ["qbittorrent-exporter"]