Created
October 1, 2014 08:38
-
-
Save kktuax/03d681988ecd98768849 to your computer and use it in GitHub Desktop.
Docker BTSync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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