2
0
Fork 0
This repository has been archived on 2025-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
qbittorrent-natpmp-docker/Dockerfile

27 lines
770 B
Text
Raw Normal View History

2023-03-17 00:33:13 +00:00
LABEL org.opencontainers.image.source=https://github.com/soxfor/qbittorrent-natmap
LABEL org.opencontainers.image.description="Map NAT-PMP/UPnP port and update qBittorrent configuration"
2023-03-17 00:42:43 +00:00
LABEL org.opencontainers.image.version="1.0.0"
LABEL org.opencontainers.image.base.name="ubuntu:jammy"
FROM ubuntu:jammy
2023-03-16 19:54:23 +00:00
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update
RUN apt install --no-install-suggests --no-install-recommends -y natpmpc curl bc
2023-03-16 19:54:23 +00:00
RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/*
RUN apt clean
ENV QBITTORRENT_SERVER=''
ENV QBITTORRENT_PORT='8080'
ENV QBITTORRENT_USER='admin'
ENV QBITTORRENT_PASS='adminadmin'
ENV VPN_GATEWAY=''
ENV CHECK_INTERVAL='300'
ENV NAT_LEASE_LIFETIME='300'
2023-03-16 19:54:23 +00:00
COPY data/start.sh /start.sh
RUN chmod 750 /start.sh
CMD ["./start.sh"]