diff --git a/README.md b/README.md index 1290f67..db743f9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/btsync/README.md b/btsync/README.md deleted file mode 100644 index c249570..0000000 --- a/btsync/README.md +++ /dev/null @@ -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/ diff --git a/btsync/Dockerfile b/rslsync/Dockerfile similarity index 65% rename from btsync/Dockerfile rename to rslsync/Dockerfile index 84d5648..af954d1 100644 --- a/btsync/Dockerfile +++ b/rslsync/Dockerfile @@ -1,25 +1,25 @@ # -# Dockerfile for btsync +# Dockerfile for rslsync # -FROM debian +FROM debian:jessie MAINTAINER kev 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 diff --git a/rslsync/README.md b/rslsync/README.md new file mode 100644 index 0000000..d1b2a06 --- /dev/null +++ b/rslsync/README.md @@ -0,0 +1,7 @@ +rslsync +======= + +[Resilio Sync][1] is a fast, simple, and secure file syncing for IT and individuals. + + +[1]: https://getsync.com/ diff --git a/btsync/config.json b/rslsync/config.json similarity index 86% rename from btsync/config.json rename to rslsync/config.json index 8357fcb..e53d91a 100644 --- a/btsync/config.json +++ b/rslsync/config.json @@ -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", diff --git a/btsync/docker-compose.yml b/rslsync/docker-compose.yml similarity index 73% rename from btsync/docker-compose.yml rename to rslsync/docker-compose.yml index fae38c8..d868ccb 100644 --- a/btsync/docker-compose.yml +++ b/rslsync/docker-compose.yml @@ -1,5 +1,5 @@ -btsync: - image: vimagick/btsync +rslsync: + image: vimagick/rslsync ports: - "8888:8888" - "55555:55555" diff --git a/btsync/btsync.service b/rslsync/rslsync.service similarity index 89% rename from btsync/btsync.service rename to rslsync/rslsync.service index a269584..a625618 100644 --- a/btsync/btsync.service +++ b/rslsync/rslsync.service @@ -1,5 +1,5 @@ [Unit] -Description=BitTorrent Sync Daemon +Description=Resilio Sync Daemon After=network.target AssertPathExists=/etc/btsync/config.json AssertPathIsDirectory=/data/.syncsystem