2014-11-09 15:23:18 +00:00
|
|
|
# Transmission and OpenVPN
|
|
|
|
#
|
2015-09-10 20:37:03 +00:00
|
|
|
# Version 1.5
|
2014-11-09 15:23:18 +00:00
|
|
|
|
2018-02-02 07:54:32 +00:00
|
|
|
FROM ubuntu:16.04
|
|
|
|
MAINTAINER MarkusMcNugen
|
2014-11-09 15:23:18 +00:00
|
|
|
|
2018-02-02 08:56:16 +00:00
|
|
|
VOLUME /downloads
|
2015-05-24 17:05:05 +00:00
|
|
|
VOLUME /config
|
2014-11-09 15:23:18 +00:00
|
|
|
|
2014-11-09 18:52:52 +00:00
|
|
|
# Update packages and install software
|
2015-05-09 19:49:07 +00:00
|
|
|
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 \
|
2018-02-03 05:33:35 +00:00
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2014-11-16 13:19:56 +00:00
|
|
|
|
2014-11-09 18:52:52 +00:00
|
|
|
# Add configuration and scripts
|
2015-08-07 21:07:55 +00:00
|
|
|
ADD openvpn/ /etc/openvpn/
|
2018-02-03 00:56:08 +00:00
|
|
|
ADD qbittorrent/ /etc/qbittorrent/
|
2014-11-09 15:23:18 +00:00
|
|
|
|
2018-02-03 05:26:50 +00:00
|
|
|
RUN chmod +x /etc/qbittorrent/*.sh /etc/openvpn/*.sh
|
|
|
|
|
2015-08-07 21:07:55 +00:00
|
|
|
ENV OPENVPN_USERNAME=**None** \
|
|
|
|
OPENVPN_PASSWORD=**None** \
|
2016-02-25 03:23:51 +00:00
|
|
|
OPENVPN_PROVIDER=**None**
|
2015-05-09 19:49:07 +00:00
|
|
|
|
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
|
2015-05-07 19:34:34 +00:00
|
|
|
CMD ["/etc/openvpn/start.sh"]
|