mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 18:59:29 +00:00
Some changes as suggested by JD's Jiaz:
- Send another user agent with wget - Strip down needed information for my.jdownloader settings file
This commit is contained in:
parent
d8a4bf8401
commit
5e0f5ecc3b
2 changed files with 2 additions and 20 deletions
|
|
@ -6,7 +6,7 @@ MAINTAINER PlusMinus <piddlpiddl@gmail.com>
|
|||
# Create directory, downloader JD" and start JD2 for the initial update and creation of config files.
|
||||
RUN \
|
||||
mkdir /opt/JDownloader/ && \
|
||||
wget -O /opt/JDownloader/JDownloader.jar --progress=bar:force http://installer.jdownloader.org/JDownloader.jar && \
|
||||
wget -O /opt/JDownloader/JDownloader.jar --user-agent="https://hub.docker.com/r/plusminus/jdownloader2-headless/" --progress=bar:force http://installer.jdownloader.org/JDownloader.jar && \
|
||||
java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar
|
||||
|
||||
|
||||
|
|
|
|||
20
README.md
20
README.md
|
|
@ -6,25 +6,7 @@ Headless JDownloader 2 Docker Container
|
|||
1. Create a folder on your host for the configuration files (eg. sudo mkdir /config/jd2)
|
||||
2. run `docker run -d --name jd2 -v /config/jd2:/opt/JDownloader/cfg -v /home/user/Downloads:/root/Downloads plusminus/jdownloader2-headless`
|
||||
3. stop the container `docker stop jd2`
|
||||
4. On your host, edit the file `org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json` to match the content below
|
||||
4. On your host, enter your credentials to the file `org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json` as in `{ "password" : "mypasswort", "email" : "email@home.org" }`
|
||||
5. Start the container
|
||||
|
||||
`{
|
||||
"uniquedeviceidsaltv2" : "i don't know whats supposed to be in here",
|
||||
"autoconnectenabledv2" : true,
|
||||
"debugenabled" : false,
|
||||
"lastupnpport" : 0,
|
||||
"lastlocalport" : 58103,
|
||||
"connectip" : "api.jdownloader.org",
|
||||
"latesterror" : "NONE",
|
||||
"manuallocalport" : 3129,
|
||||
"password" : "mypasswort",
|
||||
"clientconnectport" : 80,
|
||||
"directconnectmode" : "LAN",
|
||||
"devicename" : "JDownloader@docker",
|
||||
"manualremoteport" : 3129,
|
||||
"uniquedeviceidv2" : "same as above",
|
||||
"email" : "email@home.org"
|
||||
}`
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue