File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ RUN apk add --no-cache \
27
27
&& apk del gcc g++ make git cvs zlib-dev \
28
28
&& rm -rf /var/cache/apk/* /tmp/*
29
29
30
- COPY ./opentracker.conf /etc/opentracker.conf
30
+ COPY ./opentracker.conf /etc/opentracker/opentracker.conf
31
+ COPY ./whitelist.txt /etc/opentracker/whitelist.txt
32
+ COPY ./blacklist.txt /etc/opentracker/blacklist.conf
31
33
32
34
EXPOSE 6969
33
35
34
- CMD opentracker -f /etc/opentracker.conf
36
+ CMD opentracker -f /etc/opentracker/opentracker .conf
Original file line number Diff line number Diff line change 34
34
# II) If opentracker runs in a non-open mode, point it to files containing
35
35
# all torrent hashes that it will serve (shell option -w)
36
36
#
37
- # access.whitelist /path/to /whitelist
37
+ # access.whitelist /etc/opentracker /whitelist.txt
38
38
#
39
39
# or, if opentracker was compiled to allow blacklisting (shell option -b)
40
40
#
41
- # access.blacklist ./ blacklist
41
+ # access.blacklist /etc/opentracker/ blacklist.txt
42
42
#
43
43
# It is pointless and hence not possible to compile black AND white
44
44
# listing, so choose one of those options at compile time. File format
You can’t perform that action at this time.
0 commit comments