Skip to content

About

Docker build script for Arch Linux base with Deluge

Topics

Resources

Stars

17 stars

Watchers

1 watching

Forks

Latest commit

 

History

318 Commits

Folders and files

Repository files navigation

Application

Deluge

Description

Deluge is a full-featured ​BitTorrent client for Linux, OS X, Unix and Windows. It uses ​libtorrent in its backend and features multiple user-interfaces including: GTK+, web and console. It has been designed using the client server model with a daemon process that handles all the bittorrent activity. The Deluge daemon is able to run on headless machines with the user-interfaces being able to connect remotely from any platform.

Build notes

Latest stable Deluge release from Arch Linux repo.

Usage

docker run -d \
    -p 8112:8112 \
    -p 58846:58846 \
    -p 58946:58946 \
    --name=<container name> \
    -v <path for data files>:/data \
    -v <path for config files>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e GLUETUN_INCOMING_PORT=<yes|no> \
    -e GLUETUN_CONTROL_SERVER_PORT=<port> \
    -e GLUETUN_CONTROL_SERVER_USERNAME=<username> \
    -e GLUETUN_CONTROL_SERVER_PASSWORD=<password> \
    -e WEBUI_PORT=<port> \
    -e DELUGE_DAEMON_LOG_LEVEL=<critical|error|warning|info|debug> \
    -e DELUGE_WEB_LOG_LEVEL=<critical|error|warning|info|debug> \
    -e ENABLE_STARTUP_SCRIPTS=<yes|no> \
    -e STARTUP_SCRIPTS_MODE=<wait|parallel> \
    -e HEALTHCHECK_COMMAND=<command> \
    -e HEALTHCHECK_ACTION=<action> \
    -e HEALTHCHECK_HOSTNAME=<hostname> \
    -e UMASK=<umask for created files> \
    -e PUID=<uid for user> \
    -e PGID=<gid for user> \
    binhex/arch-deluge

Please replace all user variables in the above command defined by <> with the correct values.

Access application

http://<host ip>:8112

Example

docker run -d \
    -p 8112:8112 \
    -p 58846:58846 \
    -p 58946:58946 \
    --name=deluge \
    -v /apps/docker/deluge/data:/data \
    -v /apps/docker/deluge/config:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e GLUETUN_INCOMING_PORT=no \
    -e WEBUI_PORT=8112 \
    -e DELUGE_DAEMON_LOG_LEVEL=info \
    -e DELUGE_WEB_LOG_LEVEL=info \
    -e ENABLE_STARTUP_SCRIPTS=no \
    -e STARTUP_SCRIPTS_MODE=wait \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-deluge

Notes

ENABLE_STARTUP_SCRIPTS when set to yes (default no) will allow a user to install additional packages from the official Arch Repository or the Arch User Repository (AUR) via scripts located in the folder /config/deluge/scripts/.

STARTUP_SCRIPTS_MODE controls how those scripts are executed, set to wait (default) to run each script in turn and wait for it to complete before the next script runs, or parallel to run all scripts at the same time.

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

id <username>

Default password for the webui is "deluge"


If you appreciate my work, then please consider buying me a beer :D

PayPal donation

Documentation | Support forum

About

Docker build script for Arch Linux base with Deluge

Topics

Resources

Stars

17 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages