Skip to content

Instantly share code, notes, and snippets.

@kktuax
Created October 1, 2014 08:38
Show Gist options
  • Save kktuax/03d681988ecd98768849 to your computer and use it in GitHub Desktop.
Save kktuax/03d681988ecd98768849 to your computer and use it in GitHub Desktop.
Docker BTSync
{
"device_name": "device-name",
"listening_port" : 55555,
"storage_path" : "/btsync/.sync",
"check_for_updates" : false,
"use_upnp" : false,
"download_limit" : 0,
"upload_limit" : 0,
"disk_low_priority" : true,
"lan_encrypt_data" : false,
"lan_use_tcp" : false,
"rate_limit_local_peers" : false,
"folder_rescan_interval" : 600,
"sync_trash_ttl" : 30,
"webui" :
{
"listen" : "0.0.0.0:8888",
"login" : "admin",
"password" : "mypassword"
}
}
git clone https://github.com/billt2006/docker-btsync.git
cd docker-btsync
sudo docker build -t="btsync" .
sudo mkdir -p /home/sync/.sync
sudo nano /home/sync/btsync.conf
sudo chmod 777 /home/sync/.sync
sudo docker run -d --name="btsync" -p 8888:8888 -p 55555:55555 -v /home/sync/:/btsync/ btsync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment