|
6 | 6 |
|
7 | 7 | With this repo you can easily run your own instance of the opentracker for bitorrent.
|
8 | 8 |
|
9 |
| -## How to use it |
| 9 | +## How to run an _open_ opentracker |
10 | 10 | If you want to run a complety open tracker, just pull the docker image and spin up a container:
|
11 | 11 |
|
12 | 12 | `docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker`
|
13 | 13 |
|
14 | 14 | This will bind the port `6969` to the docker container (UDP and TCP) and you're good to go.
|
15 | 15 |
|
16 | 16 |
|
17 |
| -If you want to config your opentracker instance, just download or pull the github repository and edit the `opentracker.conf` file. |
| 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. |
18 | 20 |
|
19 | 21 | Than you have to build your own image as follows:
|
20 | 22 | 1. Edit and save the `opentracker.conf` file
|
21 | 23 | 2. Open a terminal and `cd` into the project folder
|
22 | 24 | 3. Run `docker build -t yourfancyname/opentracker .`
|
23 | 25 |
|
24 |
| -After the docker image was successfully build you can start a container: |
| 26 | +After the docker image was successfully built you can start a container: |
25 | 27 |
|
26 | 28 | `docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker`
|
27 | 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 .` |
28 | 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