mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
update bittorrent-tracker
This commit is contained in:
parent
45f3756f61
commit
758f24f6c7
@ -7,7 +7,7 @@ MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN npm install -g bittorrent-tracker
|
||||
|
||||
EXPOSE 8000
|
||||
EXPOSE 8000/tcp 8000/udp
|
||||
|
||||
ENTRYPOINT ["bittorrent-tracker"]
|
||||
CMD ["--port", "8000"]
|
||||
|
@ -8,6 +8,12 @@ list that helps the client participate in the torrent swarm.
|
||||
|
||||
```bash
|
||||
$ docker-compose up -d
|
||||
|
||||
$ docker-compose logs
|
||||
http server listening on 8000
|
||||
udp server listening on 8000
|
||||
ws server listening on 8000
|
||||
|
||||
$ curl http://127.0.0.1:8000/stats.json
|
||||
{
|
||||
"torrents": 0,
|
||||
|
@ -4,5 +4,6 @@ services:
|
||||
image: vimagick/bittorrent-tracker
|
||||
init: true
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8000:8000/tcp"
|
||||
- "8000:8000/udp"
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user