Last active
February 3, 2023 02:09
-
-
Save Alistair1231/8d6b5b087de571c59750d52a6f91cf81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-----------------------------------------------------------*\ | |
| THIS IS JUST A BACKUP FOR MY SERVER MIGRATION... | | |
| EVERYTHING MIGHT BE WRONG. IT WORKED FOR ME | | |
| AFTER MUCH FIDDLING I MIGHT HAVE FORGOTTEN SOME DETAILS | | |
\*------------------------------------------------------------*/ | |
//tested with ubuntu 16.04 headless | |
//PIA setup | |
docker network create pia_network | |
// https://hub.docker.com/r/itsdaspecialk/pia-openvpn | |
docker run --cap-add=NET_ADMIN --net=pia_network --name=pia -d \ | |
--restart=always \ | |
--dns 209.222.18.222 --dns 209.222.18.218 \ | |
-e 'REGION=Netherlands' \ | |
-e 'USERNAME=____' \ | |
-e 'PASSWORD=____' \ | |
itsdaspecialk/pia-openvpn | |
/* | |
___jd2 setup___ | |
https://hub.docker.com/r/plusminus/jdownloader2-headless/ | |
*/ | |
docker run -d --name jd2 \ | |
-v /config/jd2:/opt/JDownloader/cfg \ | |
-v /home/alistair1231/:/root \ | |
--net=container:pia \ | |
plusminus/jdownloader2-headless | |
/* | |
myJD credentials in | |
/config/jd/org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json | |
like this: | |
{ "email" : "[email protected]", "password" : "mypasswort" } | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment