/my-jdownloader2-headless

An image for JDownloader 2 in headless mode for use with my.jdownloader.org, combined with an optional to use OpenVPN client.

Primary LanguageShell

my-jdownloader2-headless

An image for JDownloader 2 in headless mode for use with my.jdownloader.org, combined with an optional to use OpenVPN client.

Running

Replace the example mail, password and volume paths with your corresponding values.

docker run \
    -v /your/path/to/config/files:/opt/jd/cfg \
    -v /your/path/to/download/folder:/home/jdownloader/Downloads \
    -e MY_JD_EMAIL='your.mail@example.org' \
    -e MY_JD_PASSWORD='your_password' \
    mcarleio/my-jdownloader2-headless

If you want to use VPN, you have to add at least one OpenVPN config file into /your/path/to/config/files/ovpn and run the container in privileged mode or at least with NET_ADMIN capability:

# Run in privileged mode
--privileged 

# ... or run with NET_ADMIN capability
--cap-add NET_ADMIN 

When there are multiple OpenVPN config files, a random one is chosen during startup.

Extracting RAR5

If you encounter problems while extracting, have a look here https://board.jdownloader.org/showthread.php?t=71069

  1. Check first post, in case there are changes regarding the following steps
  2. Download the Linux version
  3. Extract the downloaded zip, which should contain two files:
    • sevenzipjbinding1509.jar
    • sevenzipjbinding1509Linux.jar
  4. Move them to /your/path/to/config/files/libs
  5. During next startup, these files will be copied into the correct libs folder of JDownloader

Optional environment variables

  • MY_JD_DEVICENAME

    The device name on my.jdownloader.org

  • JD_UID

    The UID the jdownloader user should have

  • JD_GID

    The GID the jdownloader user and group should have

  • VPN_USERNAME

    If this and VPN_PASSWORD is specified, the username and password combination is used to authenticate the OpenVPN connection.

  • VPN_PASSWORD

    If this and VPN_USERNAME is specified, the username and password combination is used to authenticate the OpenVPN connection.