mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
28 lines
623 B
Docker
28 lines
623 B
Docker
# Transmission and OpenVPN
|
|
#
|
|
# Version 1.5
|
|
|
|
FROM ubuntu:16.04
|
|
MAINTAINER MarkusMcNugen
|
|
|
|
VOLUME /downloads
|
|
VOLUME /config
|
|
|
|
# Update packages and install software
|
|
RUN apt-get update \
|
|
&& apt-get -y install software-properties-common \
|
|
&& 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/
|
|
|
|
ENV OPENVPN_USERNAME=**None** \
|
|
OPENVPN_PASSWORD=**None** \
|
|
OPENVPN_PROVIDER=**None**
|
|
|
|
# Expose port and run
|
|
EXPOSE 8080
|
|
CMD ["/etc/openvpn/start.sh"]
|
|
CMD ["/usr/bin/qbittorrent-nox -d"]
|