*: move default tracker port to 6969
This commit is contained in:
parent
a8bc51ba1d
commit
0c077f0a8c
3 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@ COPY --from=build-env /go/bin/chihaya /chihaya
|
|||
RUN adduser -D chihaya
|
||||
|
||||
# Expose a docker interface to our binary.
|
||||
EXPOSE 6880 6881
|
||||
EXPOSE 6880 6969
|
||||
|
||||
# Drop root privileges
|
||||
USER chihaya
|
||||
|
|
|
@ -15,8 +15,8 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
flag.StringVar(&httpTrackerURL, "http", "http://localhost:6881/announce", "the address of the HTTP tracker")
|
||||
flag.StringVar(&udpTrackerURL, "udp", "udp://localhost:6881", "the address of the UDP tracker")
|
||||
flag.StringVar(&httpTrackerURL, "http", "http://localhost:6969/announce", "the address of the HTTP tracker")
|
||||
flag.StringVar(&udpTrackerURL, "udp", "udp://localhost:6969", "the address of the UDP tracker")
|
||||
flag.DurationVar(&delay, "delay", 1*time.Second, "the delay between announces")
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ chihaya:
|
|||
http:
|
||||
# The network interface that will bind to an HTTP server for serving
|
||||
# BitTorrent traffic.
|
||||
addr: "0.0.0.0:6881"
|
||||
addr: "0.0.0.0:6969"
|
||||
|
||||
# The path to the required files to listen via HTTPS.
|
||||
tls_cert_path: ""
|
||||
|
@ -72,7 +72,7 @@ chihaya:
|
|||
udp:
|
||||
# The network interface that will bind to a UDP server for serving
|
||||
# BitTorrent traffic.
|
||||
addr: "0.0.0.0:6881"
|
||||
addr: "0.0.0.0:6969"
|
||||
|
||||
# The leeway for a timestamp on a connection ID.
|
||||
max_clock_skew: 10s
|
||||
|
|
Loading…
Add table
Reference in a new issue