Skip to content

domibarton/docker-jdownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a Docker image for JDownloader - the open-source download manager.

The Docker image currently supports:

  • running JDownloader under its own user (not root)
  • running JDownloader in headless (non-GUI) mode
  • changing of the UID and GID for the JDownloader user

Run

Run via Docker CLI client

To run the JDownloader container you can execute:

docker run --name jdownloader -v <cfg path>:/jdownloader/cfg -v <media path>:/media dbarton/jdownloader

Run via Docker Compose

You can also run the JDownloader container by using Docker Compose.

If you've cloned the git repository you can build and run the Docker container locally (without the Docker Hub):

docker-compose up -d

If you want to use the Docker Hub image within your existing Docker Compose file you can use the following YAML snippet:

jdownloader:
    image: "dbarton/jdownloader"
    container_name: "jdownloader"
    volumes:
        - "<cfg path>:/jdownloader/cfg"
        - "<media path>:/media"
    restart: always

Configuration

Volumes

Please mount the following volumes inside your JDownloader container:

  • /jdownloader/cfg: Holds all the JDownloader configuration files
  • /media: Directory for downloaded media

Configuration files

The JDownloader configuration files are located on /jdownloader/cfg, respectively your mounted directory on the host.

IMPORTANT: It is recommended that you setup the [My JDownloader credentials](#My JDownloader credentials), so that you can easily configure your JDownloader settings via the My JDownloader WebUI

My JDownloader credentials

If you want to use the My JDownloader WebUI, you've to configure your credentials in the /jdownloader/cfg/org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json configuration file. Here's an example content:

{
  "autoconnectenabledv2" : true,
  "email" : "your@mail.address",
  "password" : "your_secret_password"
}

Downloader directory

To change the download directory, you've to edit the file /jdownloader/cfg/org.jdownloader.settings.GeneralSettings.json and add the following setting:

"defaultdownloadfolder" : "/media"

UID and GID

By default JDownloader runs with user ID and group ID 666. If you want to run JDownloader with different ID's you've to set the JDOWNLOADER_UID and/or JDOWNLOADER_GID environment variables, for example:

JDOWNLOADER_UID=1234
JDOWNLOADER_GID=1234

About

Docker image for headless jDownloader.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages