Giter Site home page Giter Site logo

grapemix / my-jdownloader2-headless Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mcarleio/my-jdownloader2-headless

0.0 1.0 0.0 9 KB

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

Shell 84.33% Dockerfile 15.67%

my-jdownloader2-headless's Introduction

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='[email protected]' \
    -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.

my-jdownloader2-headless's People

Contributors

mcarleio avatar

Watchers

 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.