|
1 |
| -# opentracker-docker |
2 |
| -Docker container for the opentracker project |
| 1 | +# opentracker-docker |
| 2 | +[]() |
| 3 | +[]() |
| 4 | +[]() |
| 5 | +[]() |
| 6 | + |
| 7 | +With this repo you can easily run your own instance of the opentracker for bitorrent. |
| 8 | + |
| 9 | +## How to run an _open_ opentracker |
| 10 | +If you want to run a complety open tracker, just pull the docker image and spin up a container: |
| 11 | + |
| 12 | +`docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker` |
| 13 | + |
| 14 | +This will bind the port `6969` to the docker container (UDP and TCP) and you're good to go. |
| 15 | + |
| 16 | + |
| 17 | +## How to run a _customized_ opentracker instance |
| 18 | + |
| 19 | +If you want to config your opentracker instance, just download or `git clone` the [github repository](https://github.com/Lednerb/opentracker-docker/) and edit the `opentracker.conf` file. |
| 20 | + |
| 21 | +Than you have to build your own image as follows: |
| 22 | + 1. Edit and save the `opentracker.conf` file |
| 23 | + 2. Open a terminal and `cd` into the project folder |
| 24 | + 3. Run `docker build -t yourfancyname/opentracker .` |
| 25 | + |
| 26 | +After the docker image was successfully built you can start a container: |
| 27 | + |
| 28 | +`docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker` |
| 29 | + |
| 30 | + |
| 31 | +## How to whitelist your opentracker torrents |
| 32 | +If you just want to run the opentracker instance for specific torrents you have to whitelist them. |
| 33 | + |
| 34 | +Follow these steps to whitelist your .torrent files: |
| 35 | + 1. Download or `git clone` the [github repository](https://github.com/Lednerb/opentracker-docker/) |
| 36 | + 2. Create a file in the project directory named `whitelist.txt` |
| 37 | + 3. Copy & Paste your torrent info_hashes into the file |
| 38 | + 4. Uncomment line 37 in the `opentracker.conf` |
| 39 | + 5. Open a terminal and `cd` into the project folder |
| 40 | + 6. Run `docker build -t yourfancyname/opentracker .` |
3 | 41 |
|
| 42 | +Example whitelist.txt: |
| 43 | +``` |
| 44 | +0123456789abcdef0123456789abcdef01234567 |
| 45 | +890123456789abcdef0123456789abcdef012345 |
| 46 | +``` |
| 47 | + |
| 48 | +After the docker image was successfully built you can start a container: |
| 49 | + |
| 50 | +`docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker` |
| 51 | + |
| 52 | +## How to blacklist some torrents |
| 53 | +Just follow the steps from obove but paste the info_hashes into the `blacklist.txt` file and uncomment line 41 in the `opentracker.conf` file. |
0 commit comments