mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
rename btsync to rslsync
This commit is contained in:
@@ -50,7 +50,6 @@ A collection of delicious docker recipes.
|
|||||||
- [x] alpine-arm :+1:
|
- [x] alpine-arm :+1:
|
||||||
- [x] aria2 :+1:
|
- [x] aria2 :+1:
|
||||||
- [x] audiowaveform
|
- [x] audiowaveform
|
||||||
- [x] btsync
|
|
||||||
- [x] cadvisor
|
- [x] cadvisor
|
||||||
- [x] casperjs :+1:
|
- [x] casperjs :+1:
|
||||||
- [x] collectd
|
- [x] collectd
|
||||||
@@ -76,6 +75,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] portia
|
- [x] portia
|
||||||
- [x] pure-ftpd
|
- [x] pure-ftpd
|
||||||
- [x] redis-arm
|
- [x] redis-arm
|
||||||
|
- [x] rslsync
|
||||||
- [x] rsyncd
|
- [x] rsyncd
|
||||||
- [x] samba :+1:
|
- [x] samba :+1:
|
||||||
- [x] samba-arm :+1:
|
- [x] samba-arm :+1:
|
||||||
@@ -223,6 +223,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] jazzdd/phpvirtualbox
|
- [x] jazzdd/phpvirtualbox
|
||||||
- [x] jenkins
|
- [x] jenkins
|
||||||
- [x] jupyter/notebook
|
- [x] jupyter/notebook
|
||||||
|
- [x] kylemanna/openvpn
|
||||||
- [x] mongo
|
- [x] mongo
|
||||||
- [x] neo4j
|
- [x] neo4j
|
||||||
- [x] owncloud
|
- [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>
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y curl \
|
&& 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 \
|
&& apt-get purge -y --auto-remove curl \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY config.json /etc/btsync/
|
COPY config.json /etc/rslsync/
|
||||||
|
|
||||||
ENV STORAGE_PATH /data/.syncsystem
|
ENV STORAGE_PATH /data/.syncsystem
|
||||||
ENV DIRECTORY_ROOT /data/syncaod
|
ENV DIRECTORY_ROOT /data/syncaod
|
||||||
|
|
||||||
VOLUME /etc/btsync /data
|
VOLUME /etc/rslsync /data
|
||||||
EXPOSE 8888 55555
|
EXPOSE 8888 55555
|
||||||
|
|
||||||
CMD set -xe \
|
CMD set -xe \
|
||||||
&& mkdir -p "$STORAGE_PATH" "$DIRECTORY_ROOT" \
|
&& 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
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,
|
"listening_port": 55555,
|
||||||
"storage_path": "/data/.syncsystem",
|
"storage_path": "/data/.syncsystem",
|
||||||
"pid_file": "/data/.syncsystem/btsync.pid",
|
"pid_file": "/data/.syncsystem/btsync.pid",
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
btsync:
|
rslsync:
|
||||||
image: vimagick/btsync
|
image: vimagick/rslsync
|
||||||
ports:
|
ports:
|
||||||
- "8888:8888"
|
- "8888:8888"
|
||||||
- "55555:55555"
|
- "55555:55555"
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=BitTorrent Sync Daemon
|
Description=Resilio Sync Daemon
|
||||||
After=network.target
|
After=network.target
|
||||||
AssertPathExists=/etc/btsync/config.json
|
AssertPathExists=/etc/btsync/config.json
|
||||||
AssertPathIsDirectory=/data/.syncsystem
|
AssertPathIsDirectory=/data/.syncsystem
|
||||||
Reference in New Issue
Block a user