This repository has been archived on 2020-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
deluge/Dockerfile

27 lines
623 B
Docker
Raw Permalink Normal View History

FROM debian:testing-slim
2020-06-03 21:17:17 +02:00
RUN apt-get update \
&& apt-get -y install --no-install-recommends runit \
&& apt-get -y install \
deluge-console \
deluge-web \
deluged \
2020-06-03 21:17:17 +02:00
git \
gosu \
nginx-light \
python3-pip \
2020-06-03 21:17:17 +02:00
tini
RUN git clone --depth=1 https://github.com/tobbez/deluge_exporter /opt/deluge_exporter \
&& cd /opt/deluge_exporter \
&& pip3 install --no-cache-dir -r requirements.txt
COPY services /etc/service
COPY nginx.conf /etc/nginx/
COPY entrypoint.sh /usr/local/bin/
ENV PER_TORRENT_METRICS 1
ENV PUID 1000
ENTRYPOINT ["entrypoint.sh"]