1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00

rename btsync to rslsync

This commit is contained in:
kev 2016-09-19 14:27:44 +08:00
parent 2218db1add
commit 9d5d075e74
7 changed files with 19 additions and 18 deletions

@ -50,7 +50,6 @@ A collection of delicious docker recipes.
- [x] alpine-arm :+1:
- [x] aria2 :+1:
- [x] audiowaveform
- [x] btsync
- [x] cadvisor
- [x] casperjs :+1:
- [x] collectd
@ -76,6 +75,7 @@ A collection of delicious docker recipes.
- [x] portia
- [x] pure-ftpd
- [x] redis-arm
- [x] rslsync
- [x] rsyncd
- [x] samba :+1:
- [x] samba-arm :+1:
@ -223,6 +223,7 @@ A collection of delicious docker recipes.
- [x] jazzdd/phpvirtualbox
- [x] jenkins
- [x] jupyter/notebook
- [x] kylemanna/openvpn
- [x] mongo
- [x] neo4j
- [x] owncloud

@ -1,7 +0,0 @@
btsync
======
[BitTorrent Sync][1] is a fast, simple, and secure file syncing for IT and individuals.
[1]: https://www.getsync.com/

@ -1,25 +1,25 @@
#
# Dockerfile for btsync
# Dockerfile for rslsync
#
FROM debian
FROM debian:jessie
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apt-get update \
&& apt-get install -y curl \
&& curl -sSL https://download-cdn.getsync.com/stable/linux-x64/BitTorrent-Sync_x64.tar.gz | tar xz -C /usr/bin/ btsync \
&& curl -sSL https://download-cdn.getsync.com/stable/linux-x64/resilio-sync_x64.tar.gz | tar xz -C /usr/bin/ rslsync \
&& apt-get purge -y --auto-remove curl \
&& rm -rf /var/lib/apt/lists/*
COPY config.json /etc/btsync/
COPY config.json /etc/rslsync/
ENV STORAGE_PATH /data/.syncsystem
ENV DIRECTORY_ROOT /data/syncaod
VOLUME /etc/btsync /data
VOLUME /etc/rslsync /data
EXPOSE 8888 55555
CMD set -xe \
&& mkdir -p "$STORAGE_PATH" "$DIRECTORY_ROOT" \
&& btsync --nodaemon --config /etc/btsync/config.json
&& rslsync --nodaemon --config /etc/rslsync/config.json

7
rslsync/README.md Normal file

@ -0,0 +1,7 @@
rslsync
=======
[Resilio Sync][1] is a fast, simple, and secure file syncing for IT and individuals.
[1]: https://getsync.com/

@ -1,5 +1,5 @@
{
"device_name": "BitTorrent Sync Server",
"device_name": "Resilio Sync Server",
"listening_port": 55555,
"storage_path": "/data/.syncsystem",
"pid_file": "/data/.syncsystem/btsync.pid",

@ -1,5 +1,5 @@
btsync:
image: vimagick/btsync
rslsync:
image: vimagick/rslsync
ports:
- "8888:8888"
- "55555:55555"

@ -1,5 +1,5 @@
[Unit]
Description=BitTorrent Sync Daemon
Description=Resilio Sync Daemon
After=network.target
AssertPathExists=/etc/btsync/config.json
AssertPathIsDirectory=/data/.syncsystem