Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thornbill/docker-btsync
BitTorrent Sync Dockerfile
https://github.com/thornbill/docker-btsync
Last synced: about 1 month ago
JSON representation
BitTorrent Sync Dockerfile
- Host: GitHub
- URL: https://github.com/thornbill/docker-btsync
- Owner: thornbill
- License: bsd-2-clause
- Created: 2013-10-02T17:40:54.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-19T13:31:06.000Z (about 9 years ago)
- Last Synced: 2024-04-14T04:49:45.685Z (7 months ago)
- Size: 143 KB
- Stars: 66
- Watchers: 7
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
BitTorrent Sync Dockerfile
==========================This will build a [docker](http://www.docker.io/) image that runs [BitTorrent Sync](http://labs.bittorrent.com/experiments/sync.html).
### Building the Image ###
```
docker build -t btsync .
```### Running BitTorrent Sync ###
```
docker run -d -p 8888:8888 -p 55555:55555 -v /srv/btsync/:/btsync/ btsync
````-d` run in detached mode
`-p` expose container port `[public-port]:[container-port]`
> btsync.conf sets the container ports 8888 as the web ui and 55555 as the listening port> If you do not explicitly set a public port, a random open port will be used because the ports are exposed in the Dockerfile
`-v` mount a local directory in the container `[host-dir]:[container-dir]`
> btsync.conf should be located in a directory mounted to the container directory `/btsync/`### Tutorial ###
More details are available in [this tutorial](http://blog.bittorrent.com/2013/10/22/sync-hacks-deploy-bittorrent-sync-with-docker/).