You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	update bittorrent-tracker
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user