docker-qBittorrentvpn/Dockerfile

32 lines
718 B
Docker
Raw Normal View History

# Transmission and OpenVPN
#
# Version 1.5
2018-02-02 07:54:32 +00:00
FROM ubuntu:16.04
MAINTAINER MarkusMcNugen
2018-02-02 08:56:16 +00:00
VOLUME /downloads
VOLUME /config
# Update packages and install software
RUN apt-get update \
&& apt-get -y install software-properties-common \
2018-02-02 07:54:32 +00:00
&& apt-get install -y qbittorrent-nox openvpn curl \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
# Add configuration and scripts
ADD openvpn/ /etc/openvpn/
ADD qbittorrent/ /etc/qbittorrent/
ENV OPENVPN_USERNAME=**None** \
OPENVPN_PASSWORD=**None** \
2016-02-25 03:23:51 +00:00
OPENVPN_PROVIDER=**None**
2018-02-03 02:55:43 +00:00
# Expose ports and run
2018-02-02 07:54:32 +00:00
EXPOSE 8080
2018-02-03 02:55:43 +00:00
EXPOSE 8999
EXPOSE 8999/udp
CMD ["/etc/openvpn/start.sh"]
CMD ["/etc/qbittorrent/start.sh"]
CMD ["/etc/qbittorrent/stop.sh"]