Skip to content

Commit a23a62c

Browse files
committed
Merge branch 'master' of github.com:Lednerb/opentracker-docker
2 parents 850dac0 + 241b8ce commit a23a62c

File tree

1 file changed

+52
-2
lines changed

1 file changed

+52
-2
lines changed

README.md

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1-
# opentracker-docker
2-
Docker container for the opentracker project
1+
# opentracker-docker
2+
[![Docker Pulls](https://img.shields.io/docker/pulls/lednerb/opentracker-docker.svg?maxAge=2592000&style=flat-square)]()
3+
[![Docker Stars](https://img.shields.io/docker/stars/lednerb/opentracker-docker.svg?maxAge=2592000&style=flat-square)]()
4+
[![license](https://img.shields.io/github/license/lednerb/opentracker-docker.svg?maxAge=2592000&style=flat-square)]()
5+
[![GitHub stars](https://img.shields.io/github/stars/lednerb/opentracker-docker.svg?style=flat-square&label=Star&maxAge=2592000)]()
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 .`
341

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

Comments
 (0)