Ā
Brought to you by
FirePress.orgā |
play-with-ghostā |
GitHubā |
Twitterā
Ā
A slim docker image for Resilio Sync using best practices available.
utility.sh based on bash-script-templateā To add in the future:
Resilio Syncā is a fast, reliable, and simple file sync and share solution, powered by a P2P technology.

LOCAL_STORAGE="~/resilio/data"
CTN_NAME="resilio"
IMG_resilio="devmtl/resilio:2.6.3_2019-09-10_18H15s21_0383a37"
docker run --rm \
-v $LOCAL_STORAGE:/data \
-p 33333:33333 \
"$IMG_resilio" sh -c \
"rslsync --help" && echo
docker run -d \
--name ${CTN_NAME} \
-v ${LOCAL_STORAGE}:/data \
-p 33333:33333 \
${IMG_resilio}
docker logs -f ${CTN_NAME};
MY_TOKEN="AJR3101010010110101010101010KH"
docker run -d `
--name "$CTN_NAME" \
-v $LOCAL_STORAGE:/data \
-p 33333:33333 \
-e RSLSYNC_SECRET="$MY_TOKEN" \
"$IMG_resilio"; echo;
# node 1
docker service create \
--name ${CTN_resilio1} --hostname ${CTN_resilio1} \
--network ${NTW_RESILIO} --replicas "1" \
--restart-condition "any" --restart-max-attempts "20" \
--reserve-memory "192M" --limit-memory "512M" \
--limit-cpu "0.333" \
--constraint 'node.labels.nodeid == 1' \
--publish "33331:33333" \
-e RSLSYNC_SECRET=$(cat ${secret_token_path}) \
--mount type=bind,source=${LOCAL_STORAGE},target=/data \
${IMG_resilio}
# node 2
docker service create \
--name ${CTN_resilio2} --hostname ${CTN_resilio2} \
--network ${NTW_RESILIO} --replicas "1" \
--restart-condition "any" --restart-max-attempts "20" \
--reserve-memory "192M" --limit-memory "512M" \
--limit-cpu "0.333" \
--constraint 'node.labels.nodeid == 2' \
--publish "33332:33333" \
-e RSLSYNC_SECRET=$(cat ${secret_token_path}) \
--mount type=bind,source=${LOCAL_STORAGE},target=/data \
${IMG_resilio}
# node 3
docker service create \
--name ${CTN_resilio3} --hostname ${CTN_resilio3} \
--network ${NTW_RESILIO} --replicas "1" \
--restart-condition "any" --restart-max-attempts "20" \
--reserve-memory "192M" --limit-memory "512M" \
--limit-cpu "0.333" \
--constraint 'node.labels.nodeid == 3' \
--publish "33333:33333" \
-e RSLSYNC_SECRET=$(cat ${secret_token_path}) \
--mount type=bind,source=${LOCAL_STORAGE},target=/data \
${IMG_resilio}
Always check on docker hub the most recent build:
https://hub.docker.com/r/devmtl/noti/tagsā
You should use this tag format in production.
${VERSION} _ ${DATE} _ ${HASH-COMMIT}
devmtl/resilio:2.6.3_2019-09-10_18H15s21_0383a37
These tags are also available to try stuff quickly:
devmtl/resilio:2.6.3
devmtl/resilio:stable
devmtl/resilio:latest
If you are looking for an alternative to WordPress, Ghostā might be the CMS you are looking for. Check out our hosting plansā .

Our missionā is to empower freelancers and small organizations to build an outstanding mobile-first website.
Because we believe your website should speak up in your name, we consider our mission completed once your site has become your impresario.
Find me on Twitter @askpascalandyā .
ā The FirePress Teamā š„š°
The power of communities pull request and forks means that 1 + 1 = 3. You can help to make this repo a better one! Here is how:
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-featureCheck this post for more details: Contributing to our Github projectā . Also, by contributing you agree to the Contributor Code of Conduct on GitHubā .
Content type
Image
Digest
Size
20.9 MB
Last updated
almost 6 years ago
docker pull devmtl/resilio