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
latest
latest-ffmpeg
-
Create a folder on your host for the configuration files (eg.
sudo mkdir /config/jd2
) -
Run the container:
docker run -d --name jd2 \ -e [email protected] -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" : "[email protected]", "password" : "my_secret_password" }
Environment Variable | Description |
---|---|
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
.