About

This is a docker build for Resilio Sync (rslsync).

Filesystem Disposition

.
├── Dockerfile
└── rootfs
    ├── etc
    │   └── rslsync.conf.default
    └── usr
        └── local
            └── bin
                └── run_rslsync

Dockerfile

FROM debian:stable-slim
ARG ARCHITECTURE=x64
ENV ARCHITECTURE=$ARCHITECTURE
 
ADD https://download-cdn.resilio.com/stable/linux/${ARCHITECTURE}/0/resilio-sync_${ARCHITECTURE}.tar.gz /tmp/resilio.tar.gz
 
WORKDIR /tmp
RUN tar -xvf /tmp/resilio.tar.gz -C /usr/local/bin/
 
ADD rootfs /
 
EXPOSE 8888
 
CMD ["--config", "/sync/rslsync.conf"]
ENTRYPOINT ["/usr/local/bin/run_rslsync"]

Files

Here are the files that are placed under the rootfs filesystem path.

rslsync.conf.default

{
  "webui" :
  {
    "listen" : "0.0.0.0:8888"
  }
}

run_rslsync

#!/bin/sh
 
mkdir -p /sync
 
if ! [ -f /sync/rslsync.conf ]; then
    cp /etc/rslsync.conf.default /sync/rslsync.conf
fi
 
exec /usr/local/bin/rslsync --storage /sync --nodaemon $*

assets/docker/build/rslsync.txt · Last modified: 2024/03/24 23:21 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.