Skip to content

A Really secure Deluge Container for some really Private Linux ISO Downloads that are automatically added to the owncloud.

License

Notifications You must be signed in to change notification settings

techtasie/Docker-Deluge-OpenVPN-Owncloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-Deluge-OpenVPN-Owncloud

A Really secure Deluge Container for some really Private Linux ISO Downloads that are automatically added to the owncloud.

WARNING

if you have IPv6 support enabled in your Docker deamon than you have to remove the following line from the Deluge dockerfile

RUN sed -i 's/IPV6=yes/IPV6=no/g' /etc/default/ufw

How to setup.

Install Docker and docker-compose

If you have not already installed docker you have to install it.

curl -fsSL https://get.docker.com | sh
curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Setup the containers

Clone the Repository

You have to clone the repository

git clone https://github.com/techtasie/Docker-Deluge-OpenVPN-Owncloud 
cd Docker-Deluge-OpenVPN-Owncloud

Configuring the nginx Reverse Proxy for the owncloud

Add your SSL Certs as a bundle:

mkdir certs
cd certs
cp /your/crt/bundle.crt ./cert.crt
cp /your/private/key.key ./cert.key
cd ..

IMPORTANT: Set your Domain name in the nginx config:
Change example.com in owncloud_proxy/nginx.conf to your public Domain.

Configuring OpenVPN

Copy the config to the openvpn folder:

mkdir openvpn
cd openvpn
cp /your/OpenVPN/config ./openvpn.ovpn
cp /your/other/crt/files .

Change in the openvpn.ovpn the line:

auth-user-pass

to

auth-user-pass pass.txt

and create the pass.txt file and put your credentials in it:

your-user.name
your-password

Start the containers

Just run in the main directory:

docker-compose up -d

to stop it again move to the folder and run:

docker-compose down

Configure Deluged

Access the Deluge container by surfing to your-local-ip-address:8112
The default password is: deluge Set the completed downloads folder to /completed because all files in this folder are automatically added to the Folder Deluge from root user on the owncloud.

Configure the owncloud

Access the owncloud by surfing to your-domain.com
Setup as root user the user root now the folder Deluge will be in the files of root and you can share it with other users

About

A Really secure Deluge Container for some really Private Linux ISO Downloads that are automatically added to the owncloud.

Topics

Resources

License

Stars

Watchers

Forks