Resilio Sync with EnterMediaDb & Docker
Client Side Installations & Configuration
For Windows or Mac operating systems, see here: Getsync Desktop Platforms. For Ubuntu or other Linux operating systems, see here: Getsync Linux installation Once you have your Resilio client running share a folder:

Server Side
1.- Download our Resilio Setup script into your services folder, every script within this folder will be automatically run whenever your EnterMedia docker container is restarted:wget https://raw.githubusercontent.com/entermedia-community/entermediadb-docker/master/services/startresiliosync.sh chmod +x startresiliosync.sh2.- Create a sync.conf file in your data path (/media/emsites/instance/data/) , you can start with our default config file sample and customize user and password options:
wget https://raw.githubusercontent.com/entermedia-community/entermediadb-docker/master/services/sync.conf3.- Enable port-forwarding in your Docker instance in order to allow Resilio file transfers and GUI access. Inside your instance scripts path (/media/emsites/instance/10/) you will find the entermedia-docker.sh script, edit the docker run command and add forward options to ports 6001, 6001/udp and 6888. Your script should look something like:
docker run -t -d \ --restart unless-stopped \ --net entermedia \ --ip $IP_ADDR \ --name $INSTANCE \ --log-opt max-size=100m --log-opt max-file=2 \ --cap-add=SYS_PTRACE \ -p 6001:6001 \ -p 6001:6001/udp \ -p 6888:8888 \ -e USERID=$USERID \ -e GROUPID=$GROUPID \ -e CLIENT_NAME=$SITE \ -e INSTANCE_PORT=$NODENUMBER \ -v ${ENDPOINT}/webapp:/opt/entermediadb/webapp \ -v ${ENDPOINT}/data:/opt/entermediadb/webapp/WEB-INF/data \ -v ${SCRIPTROOT}/tomcat:/opt/entermediadb/tomcat \ -v ${ENDPOINT}/elastic:/opt/entermediadb/webapp/WEB-INF/elastic \ -v ${ENDPOINT}/services:/media/services \ -v /tmp/$NODENUMBER:/tmp \ entermediadb/entermediadb9:$BRANCH \ /usr/bin/entermediadb-deploy.sh4.- Update you EnterMedia instance to apply port-forwarding options, run /media/emsites/instance/10/update.sh 5.- Once your instance is up, you can navigate in the browser to http://site_url.com:6888 This is the Resilio GUI, use the user and password you have in your sync.conf. In the server GUI add a Folder in the top right corner and select the Enter a key or link option.




resilio