Git Product home page Git Product logo

headless-jd2-docker's Introduction

Build Status

Supported tags

Running the container

  1. Become root if your user is not part of the docker group:

    sudo su
    
  2. Create a folder on your host for the configuration files (eg. sudo mkdir /config/jd2)

  3. Run the container:

    docker run -d --name jd2 \
        -e [email protected] -e PASSWORD=my_secret_password
        -v /config/jd2:/opt/JDownloader/cfg \
        -v /home/user/Downloads:/opt/JDownloader/Downloads \
        plusminus/jdownloader2-headless
    

If you don't want to specify your credentials on the command line, remove them from the command above (-e EMAIL=... -e PASSWORD=...) and add them manually to the file<config-dir>/org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json as in

{ "email" : "[email protected]", "password" : "my_secret_password" }

Optional environment variables

Environment Variable Description
EMAIL The MyJDownloader account e-mail. Is written automatically to config-file, if set.
PASSWORD The MyJDownloader account password. Is written automatically to config-file, if set.
UID Specifies the UID the daemon should run as. All created files will be owned by this UID. Defaults to 1000.
GID Specifies the GID for all created files. This only works in combination with the UID. Defaults to 100 for users.

Not setting UID / GID will default to 1000:100.

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.