Skip to content

running jdownloader in headless mode using automatic updates to keep the java jre docker base image secure and updated

Notifications You must be signed in to change notification settings

Entepotenz/jdownloader2-headless-docker-ng

Repository files navigation

jdownloader2-headless-docker-ng

Create and publish a Docker image MegaLinter

This is a docker container which creates a headless instance of JDownloader. You can control this JDownloader instance by configuring your MyJDownloader account. This container checks once a week if a new baseimage is available and builds/pushes a new image.

This code is based on this repository: https://github.com/PlusMinus0/headless-jd2-docker

Supported tags

  • latest
  • latest-ffmpeg

Running the container

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

  2. Run the container:

    docker run -d --name jd2 \
        -e EMAIL=my@mail.com -e PASSWORD=my_secret_password
        -v /config/jd2:/app/cfg \
        -v /home/user/Downloads:/data \
        entepotenz/jdownloader2-headless-docker-ng:latest

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" : "my@mail.com", "password" : "my_secret_password" }

Optional environment variables

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

Not setting PUID / PGID will default to 1000:911.

About

running jdownloader in headless mode using automatic updates to keep the java jre docker base image secure and updated

Resources

Stars

Watchers

Forks

Releases

No releases published