Git Product home page Git Product logo

sync-docker's Introduction

Resilio Sync

Sync uses peer-to-peer technology to provide fast, private file sharing for teams and individuals. By skipping the cloud, transfers can be significantly faster because files take the shortest path between devices. Sync does not store your information on servers in the cloud, avoiding cloud privacy concerns.

Usage

DATA_FOLDER=/path/to/data/folder/on/the/host
WEBUI_PORT=[ port to access the webui on the host ]

mkdir -p $DATA_FOLDER

docker run -d --name Sync \
  -p 127.0.0.1:$WEBUI_PORT:8888 -p 55555 \
  -v $DATA_FOLDER:/mnt/sync \
  --restart on-failure \
  resilio/sync

Go to localhost:$WEBUI_PORT in a web browser to access the webui.

LAN access

If you do not want to limit the access to the webui to localhost, run instead:

docker run -d --name Sync \
  -p $WEBUI_PORT:8888 -p 55555 \
  -v $DATA_FOLDER:/mnt/sync \
  --restart on-failure \
  resilio/sync

Extra directories

If you need to mount extra directories, mount them in /mnt/mounted_folders:

docker run -d --name Sync \
  -p 127.0.0.1:$WEBUI_PORT:8888 -p 55555 \
  -v $DATA_FOLDER:/mnt/sync \
  -v <OTHER_DIR>:/mnt/mounted_folders/<DIR_NAME> \
  -v <OTHER_DIR2>:/mnt/mounted_folders/<DIR_NAME2> \
  --restart on-failure \
  resilio/sync

Do not create directories at the root of mounted_folders from the Sync webui since this new folder will not be mounted on the host.

Volume

  • /mnt/sync - State files and Sync folders

Ports

  • 8888 - Webui
  • 55555 - Listening port for Sync traffic

sync-docker's People

Contributors

b-c avatar vittel avatar goesta avatar

Watchers

James Cloos avatar  avatar

Forkers

zeropain

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.