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
2020-06-03 22:31:33 +02:00

29 lines
619 B
Docker

FROM debian:testing-slim
RUN apt-get update \
&& apt-get -y install --no-install-recommends runit \
&& apt-get -y install \
deluge-console \
deluge-web \
deluged \
git \
gosu \
nginx-light \
python3-pip \
tini
RUN pip3 install --no-cache-dir \
deluge-client \
prometheus_client
RUN git clone --depth=1 https://github.com/sbruder/deluge_exporter /opt/deluge_exporter
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"]