GithubHelp home page GithubHelp logo

didstopia / btsync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tutumcloud/btsync

0.0 2.0 0.0 10 KB

Synchronizes data volumes between containers using BitTorrent

Home Page: http://tutum.co

License: Apache License 2.0

Python 78.46% Shell 21.54%

btsync's Introduction

NOTE: This is a fork, not the official repository. The aim of this fork is to open up the Web UI on port 55556, as well as provide environment variables that control the username and the password.

tutum/btsync

Deploy to Tutum

Synchronizes data folders between containers using BitTorrent Sync.

Usage

docker run -d tutum/btsync <folder1> <folder2> ... <foldern>

Replacing <folderi> with any folder you want to synchronize. Each key will be generated hashing the name of the folder, so this implementation will only scale in LAN mode (as is set in the image).

Deploy on Tutum

Modify the volumes_from list with the name of the service you want to sync and the target_num_containers with the number of containers from the service you want to synchronize. If the target service belongs to another stack its service unique name is its service name plus the service stack name, separated by ".".

By default tutum/btsync will syncrhonize all volumes mounted on the containers being created, but you can define the folders to sync as metioned above. All traffic goes through the private network created by Weave.

Another way to use this image in Tutum is to define volumes in the btsync service and make the target service/s do a volumes_from to the service. In this case the target service/s will share all volumes defined in the btsync service.

Notes

  • When a file is added to the shared folder, the changes start syncing immediately. However, it can take up to ten seconds to be seen by the other peer.
  • If you change a file inside a shared folder, sync will start after the file is saved and/or closed.
  • If several people make changes to the same file it is only saved the latest version of the file.

## License

bittorrent Sync has a proprietary license included in:

http://www.bittorrent.com/legal/privacy http://www.bittorrent.com/legal/terms-of-use http://www.bittorrent.com/legal/eula

btsync's People

Contributors

dids avatar fermayo avatar gonzalopericacho avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.