GithubHelp home page GithubHelp logo

raum01 / docker-deluge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kurankat/docker-deluge

0.0 0.0 0.0 22 KB

Docker container to run Deluge and web client in Ubuntu 16.04

License: MIT License

Shell 6.93% Dockerfile 93.07%

docker-deluge's Introduction

docker-deluge

Docker container to run Deluge and web client in Ubuntu 16.04

Experimental image. deluged and deluge-web run as uid 1000.

Installation:

Download the image with:

docker pull kurankat/deluge

Create a folder for your downloads and another for your config, owned by your uid=1000 user.

Run a container with:

docker run -d --name deluge \
   -v /path/to/your/chosen/folder/downloads:/downloads \
   -v /path/to/your/chosen/folder/config:/home/user/.config/deluge \
   -p 8112:8112 \
   kurankat/deluge

Initialising

The deluge-web user interface will be at http://localhost:8112. It is set to a default password of "deluge". It is highly recommended to change this to a safe password. Log into the daemon and change the settings to use the /downloads folder for finished downloads.

Examples using docker-compose

If you have more than a couple of containers running, it's easier to use docker-compose to run your setup. You can use a couple of networking options.

Default networking (bridge)

Your deluge container will run in a docker-only network and you can choose to bind ports to the host. Your deluge container will be addressable using the IP address of the host.

docker-compose.yml

version: '3'

services:
 deluge:
  container_name: deluge
  image: kurankat/deluge
  restart: always
  volumes:
   - ./downloads:/downloads
   - ./config:/home/user/.config/deluge
  ports:
   - "8112:8112"
   - "58846:58846"
   - "58946:58946"

Start your container by running docker-compose up -d.

Placing containers on a LAN (macvlan networking)

Your deluge container will run in a macvlan network, through a pre-configured bridge on the host, and attach directly to the router with its own IP address. The example below assumes that you have pre-configured a bridge in your Docker host, in this example br0

Make sure you assign IP addresses that are outside the router's DHCP range to avoid conflicts. In this example your container will be addressable in the LAN at 192.168.1.25

docker-compose.yml

version: '3'

services:
 deluge:
  container_name: deluge
  image: kurankat/deluge
  restart: always
  volumes:
   - ./downloads:/downloads
   - ./config:/home/user/.config/deluge
  networks:
  example.lan:
   ipv4_address: <YOUR.CHOSEN.IP.ADDRESS>

networks:
 example.lan:
  driver: macvlan
  driver_opts:
   parent: br0
  ipam:
   config:
    - subnet: <YOUR.CHOSEN.IP.SUBNET>/24

docker-deluge's People

Contributors

kurankat avatar raum01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.