Sign inSign up

bender77/btsync

By bender77

Updated over 11 years ago

Image
0

339

bender77/btsync repository overview

Docker Btsync

This is a Dockerfile to set up Bittorrent Sync. If you want a custom btsync.conf, add it to the root directory before building and edit the Dockerfile and start.sh. Otherwise, just edit the values from the webui.

We'll assume that the data directories to by sync'd will all live under one directory that can be mounted via -v <host_dir>:/data. The config/logging directory will live in a data-only volume.

Note: UPnP doesn't work...NAP-PMP must be enabled on the router, or forward the ports manually. Build

Create config volume and set permissions (remember to set permissions on any bind-mounted volumes as well):

docker run -v /.sync --name btsync_config scratch true &> /dev/null

docker run -it --rm --volumes-from btsync_config ubuntu /bin/bash

root@xxxxx # chown -R 22000 /.sync

Change the webui listening port in the Dockerfile if necessary (default is 8888), then:

docker build -t btsync .

Run

Systemd service file available.

docker run -d -v /mnt/media:/mnt/media --volumes-from btsync_config -p 30000:30000 -p 8888:8888 --name btsync_run btsync

Tag summary

Content type

Image

Digest

sha256:6a5385dc9

Size

-

Last updated

over 11 years ago

docker pull bender77/btsync