Skip to content
MAGPEEKPublic

About

Self-hosted file sync and share: Linux server, web interface, Windows client

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SyncDrive logo

SyncDrive

Self-hosted file sync and share — your files on your own server, in sync on every device.

Docker pulls Docker image Client release MIT License

What is SyncDrive?

SyncDrive keeps your files on your own server — a NAS, a mini PC or a small VPS — and in sync on your Windows PCs and Macs. Share folders and links, restore earlier versions, and reach everything from the browser.

  • Sync folders two-way, upload-only or download-only; keep files online-only and fetch them when opened.
  • Web interface to browse, upload, download, search, preview images and restore from the recycle bin or versions.
  • Share with other users, groups and team folders, via public links with password and expiry, or collect files with file requests.
  • Administer users, quotas and sharing policies in the browser.

SyncDrive web interface

Requirements

  • A Linux host (x64 or arm64) with Docker and the Compose plugin — a NAS with Docker works as well
  • A local disk for the data volume (not an NFS/SMB share)

Usage

The server is a single container, magpeek/syncdrive-server. It listens on port 8080 and serves the web interface and the API for the clients.

Docker Compose

Copy docker/docker-compose.yml to your server (or paste it into Portainer / your NAS as a stack), replace change-me-to-a-long-password with your administrator password, then:

docker compose up -d

docker run

docker run -d --name syncdrive --restart unless-stopped \
  -p 8080:8080 \
  -v syncdrive-data:/data \
  -e SYNCDRIVE_Server__RequireTls=false \
  -e SYNCDRIVE_Server__AdminUserName=admin \
  -e SYNCDRIVE_Server__AdminPassword='a-long-admin-password' \
  magpeek/syncdrive-server:latest

Sign in

Open http://<server>:8080/ and sign in as admin. The administrator is created on the first start; further users, groups and team folders are added in the account menu → Administration.

Plain HTTP is fine on a trusted home network. Otherwise enable HTTPS — directly in the container with your certificate, or behind a reverse proxy: see HTTPS.

Configuration

Environment variables of the container:

Variable Default Description
SYNCDRIVE_Server__AdminUserName — Administrator created on the first start (only if no user exists yet)
SYNCDRIVE_Server__AdminPassword — Password of that administrator
SYNCDRIVE_Server__AdminPasswordFile — Alternative: file containing the password (Docker/Kubernetes secret)
SYNCDRIVE_Server__RequireTls true Reject plain HTTP requests; set false for HTTP
SYNCDRIVE_Server__TrustForwardedHeaders false Trust X-Forwarded-* headers — only behind a reverse proxy
SYNCDRIVE_Server__DesktopClientUrl project release page Download link for the desktop client shown in the web interface
SYNCDRIVE_Server__MaxPublicUploadBytes 4294967296 Largest file upload via file request link (4 GiB)
SYNCDRIVE_Server__MaxLongPollSeconds 60 Longest wait for change notifications; keep below a proxy's timeout
TZ UTC Time zone

Volume: /data (required). HTTPS variables, all further settings, updates and troubleshooting: docs/server.md.

Desktop client

⬇ Download SyncDrive Client for Windows — Windows 10 (2004+) and 11, x64
⬇ Download SyncDrive Client for Mac — Apple silicon (M1 or later), macOS 13 or later · preview until 1.0

File Use it for
SyncDrive-Client-<version>-<build>-x64.exe Windows: setup — double-click and follow the wizard
SyncDrive-Client-<version>-<build>-x64.msi Windows: silent install and software distribution (Intune, GPO)
SyncDrive-Client-<version>-<build>-arm64.dmg Mac: open and drag SyncDrive into Applications

No administrator rights needed. After installation, enter your server address — e.g. http://drive.example.lan:8080 — and your user name. The Windows installer also adds the command line tool syncdrive_cli. Details: docs/client.md.

Mac preview: syncs folders two-way and shows the status in the menu bar; online-only files and Finder actions follow with 1.0. The app is not yet signed by Apple: on first start, right-click SyncDrive in Applications → Open, or allow it under System Settings → Privacy & Security.

Other deployment methods

License

MIT

About

Self-hosted file sync and share: Linux server, web interface, Windows client

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages