mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-24 00:59:28 +00:00
Added Dockerfile
This commit is contained in:
parent
28f1611079
commit
b924dd2bbb
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -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"]
|
Loading…
x
Reference in New Issue
Block a user