-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Resilio within Docker containers #10
Comments
Also, do we need to copy-paste something (like a config) from the first container into other nodes ? |
|
Thanks for the answer! I wish the docker community could run only two containers to shuffle files around! Here is my two cents: Directory to sync on the servers
1) Master Node
2) Minion Nodes
What do you think? Cheers! |
You can do it with current implementation. Just ensure that the WebUI and listening ports do not intersect on your host. |
I would love to but I don't see how. I'll be very happy to put this in place :) |
Just run instances with different ports. For example, first instance will be started as:
Second instance as:
|
In your example, how does the server 1 can talk with server 2? No key or anything ? server 1
server 2
|
You can share key via webui of both instances. |
I tried many many many times. Delays, too many much clicks. I would just love to run this, authorized minions from a token generated by the leader and call it a day. |
Got you. You can map one more extra folder, /etc and edit sync.conf file. See here for instructions on config file syntax. In future, we plan to make it available so no additional mount required. |
Sounds promising. Please let me know when it's ready :) |
It works fine, thank you for this image! Please keep it up-to-date. I wan't to share my # simplified example
services:
my_app:
# ...
volumes:
- "./volumes/app_data:/var/app_data"
my_app_resilio:
# ...
image: resilio/sync
volumes:
- "./volumes/resilio:/mnt/sync"
- "./volumes/IgnoreList:/mnt/mounted_folders/app/.sync/IgnoreList:ro"
- "./volumes/app_data:/mnt/mounted_folders/app/app_data:ro" |
Hi,
Context
I discovered sync via this project https://github.com/nimmis/docker-btsync. It still works well but nimmis' project is not supported anymore since sync is now Resilio.
So I would prefer to use Resilio from the latest updates :) I'm trying to use the official project within Docker but it's not working yet.
At this point I only want to sync one directory named:
pics
. I will run another set of container if I want to share more directories.Question - I guess I'm missing something right ?
///
This is how I would expect this project to work:
On my Linux Server:
mkdir -p /mnt/syncdata/sync
mkdir -p /mnt/syncdata/pics
On my mac:
mkdir -p /Users/andy/Documents/mnt/syncdata/pics
mkdir -p /Users/andy/Documents/mnt/syncdata/sync
1) Start the first Resilio (master) container
2) Find the
-e RSLSYNC_SECRET
Question - I can't find the secret ID at the moment. So I don't understand how Minion nodes can communicate with the master.
... then copy paste: -e RSLSYNC_SECRET=ATLVGBCC4XUL4E7S3ZZ6UNS5Z2SZN2J7Y
3) Start minion containers
or ...
and so on ...
P.S. I don't mind using the GUI at this point.
Cheers!
twitter.com/_pascalandy
The text was updated successfully, but these errors were encountered: