selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Seafile logo

Self-host Seafile

v9.0.5

Sync, share and organize files with custom metadata views

ReleaseOpen CoreGPL-2.0
Docker ComposeCompose file & guide
docker compose up -d
Updated4 months ago
LanguageC
Setup difficultyAdvanced
MobileNative app
Stars
15 436
CPU
2 cores, more than 2G Hz
RAM
2G
Storage
10G available
Ports
8000 (Seahub web UI), 8082 (Seafile fileserver)
Requires
MariaDB
Docker
seafileltd/seafile-mc
Custom file properties assigned to files (owner, status, security level)Flexible file views (table, gallery, kanban, map) built on file properties

What is Seafile?

Seafile is an open-source file sync, share and cloud storage system for teams. Everything lives in libraries: collections of files that sync individually, can be encrypted with a user-chosen password, and can be shared with users or groups. Beyond sync, files carry extensible properties (owner, deadline, status) that power table, Kanban, gallery, map and statistics views, plus hierarchical tags. Collaboration features include the built-in SeaDoc co-editor, wikis, Excalidraw whiteboards, OnlyOffice/Collabora editing, password-protected download links, upload links and file version history. Desktop sync clients, a virtual drive client, WebDAV and native iOS/Android apps cover access from any device. The server is installed on your own hardware with Docker Compose (bundling MariaDB, Redis, SeaDoc and Caddy), on Kubernetes with Helm charts, or from a binary package on Ubuntu/Debian. A proprietary Professional Edition and a hosted SeafilePlus cloud add features such as SAML, advanced user management, virus scanning and Elasticsearch-based indexing; cluster deployment is Pro-only.

Seafile alternatives

Should you self-host Seafile?

Seafile scores 73/100 on selfhost.directory (how scoring works) and ranks #3 of 90 in File Sharing. It has 15 436 GitHub stars, +130 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is GPL-2.0-licensed and written mostly in C.

Its closest alternative on selfhost.directory is copyparty (82/100, 47 282 stars). It scores higher overall, so compare the two before you pick. See Seafile vs copyparty side by side.

Features

  • Built-in Wiki
  • Client-side library encryption
  • Collaborative document editing (SeaDoc)
  • Custom File Properties
  • Delta sync with resumable transfers
  • File Versioning
  • Flexible file views
  • Group file sharing
  • Hierarchical file tags
  • History-based conflict resolution
  • Library-based file syncing
  • Password-protected download links
  • Selective Sync
  • Upload links
  • Virtual drive client

Seafile README

Introduction Build Status

Seafile is an open source cloud storage system with privacy protection and teamwork features. Collections of files are called libraries. Each library can be synced separately. A library can also be encrypted with a user chosen password. Seafile also allows users to create groups and easily sharing files into groups.

Beyond sync and share, Seafile provides advanced metadata management features and handy collaboration features.

Feature Summary

How to install Seafile

Install Seafile with Docker Compose

Environment variables
SEAFILE_SERVER_HOSTNAME, JWT_PRIVATE_KEY, SEAFILE_MYSQL_DB_PASSWORD, INIT_SEAFILE_MYSQL_ROOT_PASSWORD
mkdir /opt/seafile
cd /opt/seafile
wget -O .env https://manual.seafile.com/13.0/repo/docker/ce/env
wget https://manual.seafile.com/13.0/repo/docker/ce/seafile-server.yml
wget https://manual.seafile.com/13.0/repo/docker/seadoc.yml
wget https://manual.seafile.com/13.0/repo/docker/caddy.yml
nano .env

Start Seafile server with the following command

docker compose up -d

Community edition single-node setup; bundles MariaDB, Redis, SeaDoc and Caddy.

How to configure Seafile

  • SEAFILE_SERVER_HOSTNAMESeafile server hostname or domain (required)
  • COMPOSE_FILEseafile-server.yml,caddy.yml,seadoc.ymlDocker compose configurations #
  • COMPOSE_PATH_SEPARATOR,
  • SEAFILE_IMAGEseafileltd/seafile-mc:13.0-latestImages
  • SEAFILE_DB_IMAGEmariadb:10.11

FAQ

I still have to use Memcached as my cache server. How can I do this?

Set CACHE_PROVIDER to memcached and the MEMCACHED_* variables in .env, then remove the redis service and its dependency from seafile-server.yml.

Is the Redis integrated in Seafile Docker safe? Does it have an access password?

It has no password by default but is only reachable on the private Docker network; you can set REDIS_PASSWORD in .env and uncomment the Redis command lines in seafile-server.yml.

How does Seafile use cache?

Cache speeds up sessions, avatars, profiles and database records; since Seafile 13 Redis is the default cache server and is configured through environment variables in .env.

Something goes wrong during the start of the containers. How can I find out more?

View the container logs with `docker compose logs -f`.

If the installation fails, how do I start from a clean slate again?

Remove the /opt/seafile, /opt/seafile-data and /opt/seafile-mysql directories and start the setup again.

If I want to enter into the Docker container, which command can I use?

Run `docker exec -it seafile /bin/bash` to get a shell inside the Seafile container.

More in File Sharing

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…