mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-23 08:39:30 +00:00
16 lines
274 B
Docker
16 lines
274 B
Docker
FROM python:3.12-alpine
|
|
|
|
# Install package
|
|
WORKDIR /code
|
|
COPY . .
|
|
RUN pip3 install .
|
|
|
|
ENV QBITTORRENT_HOST=""
|
|
ENV QBITTORRENT_PORT=""
|
|
ENV QBITTORRENT_USER=""
|
|
ENV QBITTORRENT_PASS=""
|
|
ENV EXPORTER_PORT="8000"
|
|
ENV EXPORTER_LOG_LEVEL="INFO"
|
|
|
|
ENTRYPOINT ["qbittorrent-exporter"]
|