kern / filepizza

:pizza: Peer-to-peer file transfers in your browser
https://file.pizza
Other
4.36k stars 328 forks source link

Default trackers doesn't work - here are 2 trackers that do #158

Open RedSnt opened 8 months ago

RedSnt commented 8 months ago

Since this was my first time messing with docker it took me a long while to get running correctly, and when I finally got it running files wouldn't download. Took a look in console and saw connection errors with tracker names.
Luckily there is the WEBTORRENT_TRACKERS variable, so it was just a matter of finding working trackers. Found a few here, so an added line -e WEBTORRENT_TRACKERS=wss://tracker.webtorrent.dev,wss://tracker.files.fm:7073/announce,ws://tracker.files.fm:7072/announce when creating the local docker instance makes it connectable for people.

Note that one tracker is listed twice, but one uses WSS the other WS.

Anyway, glad I found this project, has been fun messing around with docker.