# Phylum

> Open-source alternative to Google Drive and Dropbox. Self-hosted cloud file storage with selective sync, version history, native desktop/mobile apps that work offline.

- **Category:** [File Sharing & Collaboration](https://selfhost.directory/file-sharing-collaboration)
- **Licence:** AGPL-3.0-or-later
- **Source model:** Open source
- **Latest version:** releases/v0.10.1
- **Author:** shroff
- **Platforms:** Docker Compose
- **Ports:** 2448 (main application server)
- **Requires:** PostgreSQL
- **Tags:** LDAP, Webdav, Cloud Storage, File Storage, OIDC, Postgres

## Docker images

- [`docker.io/shroff12/phylum`](https://hub.docker.com/r/shroff12/phylum)

## What is Phylum?

Phylum provides self-hosted cloud file storage as an alternative to proprietary services. It offers a file browser enabling selective sync, fast file management through native applications across multiple platforms, granular user permissions, complete file version tracking, flexible remote storage backends, WebDAV access for external integrations, and the ability to publicly share files and folders. The server component runs via Docker Compose using PostgreSQL for data persistence. Authentication options include magic login links, local passwords stored with Argon2 hashing, LDAP integration, and OpenID Connect support for enterprise identity providers.

## Should you self-host Phylum?

Phylum scores **54/100** on selfhost.directory ([how scoring works](https://selfhost.directory/scoring)) and ranks **#17 of 28** in [File Sharing & Collaboration](https://selfhost.directory/file-sharing-collaboration).

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

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-or-later-licensed.

Its closest alternative on selfhost.directory is [Ente](https://selfhost.directory/project/ente) (82/100, 30 197 stars). It scores higher overall, so compare the two before you pick. [See Phylum vs Ente side by side.](https://selfhost.directory/compare/ente-vs-phylum)

## Features

- File Version History
- LDAP Authentication
- Magic login links — requires mail setup
- Offline-first clients — not tested on Windows
- OpenID Connect Authentication
- Public File Sharing
- Remote Storage Backends — not extensively tested
- Selective Sync
- Users and permissions
- WebDAV Access

## How to install Phylum

### Install Phylum with Docker Compose

Environment variables:

```
PHYLUM_DB__PASSWORD PHYLUM_DB__NAME PHYLUM_DB__USER PHYLUM_IMAGE_TAG DATA_ROOT
```

curl -O https://codeberg.org/shroff/phylum/raw/branch/main/compose.yml 
echo "PHYLUM_DB__PASSWORD=$(head -c 32 /dev/urandom | md5sum | cut -d ' ' -f 1)" >> .env
docker compose up -d && docker compose logs -f
Open http://localhost:2448 to continue setup

Note: Server requires PostgreSQL running alongside

## Phylum is a self-hosted alternative to

- [Dropbox](https://selfhost.directory/alternative-to/dropbox)
- [Google Drive](https://selfhost.directory/alternative-to/google-drive)

## Phylum alternatives

- [Sync-in](https://selfhost.directory/project/sync-in): Sync-in is a self-hosted, open-source workspace for file storage, sharing, sync and team collaboration, with WebDAV, OIDC/LDAP sign-in and online office editing. (compare: https://selfhost.directory/compare/phylum-vs-sync-in)
- [Pydio](https://selfhost.directory/project/pydio): Pydio Cells is a self-hosted file sharing platform with document management, 5TB transfers, WebDAV, sync, and no-code automation. Runs on your infra with MySQL/MariaDB. (compare: https://selfhost.directory/compare/phylum-vs-pydio)
- [filestash](https://selfhost.directory/project/filestash): Self-hosted, open-source web file manager that puts S3, SFTP, WebDAV, SMB, FTP and around 20 more storage protocols behind one Dropbox-style interface. (compare: https://selfhost.directory/compare/filestash-vs-phylum)
- [Pydio Cells](https://selfhost.directory/project/pydio-cells): Future-proof content collaboration platform (compare: https://selfhost.directory/compare/phylum-vs-pydio-cells)
- [Seafile](https://selfhost.directory/project/seafile): Open-source, self-hosted file sync and share platform: libraries sync separately, groups share files, and custom properties drive table, Kanban and gallery views. (compare: https://selfhost.directory/compare/phylum-vs-seafile)
- [drivebase](https://selfhost.directory/project/drivebase): Drivebase is a self-hosted, open-source file manager unifying Google Drive, S3, Dropbox, and local files into a desktop-like web UI with real-time transfers. (compare: https://selfhost.directory/compare/drivebase-vs-phylum)
- [OxiCloud](https://selfhost.directory/project/oxicloud): Self-hosted Rust cloud platform for files, calendar, contacts, and office editing via WebDAV, CalDAV, CardDAV, WOPI. Single binary, PostgreSQL, ~30-50 MB idle RAM. (compare: https://selfhost.directory/compare/oxicloud-vs-phylum)
- [seafile-server](https://selfhost.directory/project/seafile-server): Seafile Server is a self-hosted open-source platform for file synchronization, sharing, and collaborative document editing with end-to-end encryption and team workspaces. (compare: https://selfhost.directory/compare/phylum-vs-seafile-server)

## More in File Sharing & Collaboration

- [pingvin-share-x](https://selfhost.directory/project/pingvin-share-x): Open-source self-hosted file sharing platform and WeTransfer alternative with link sharing, expiration, passwords, ClamAV scanning, S3 support, and OIDC/LDAP auth.
- [Plik](https://selfhost.directory/project/plik): Self-hosted temporary file sharing platform with multiple storage backends, end-to-end encryption, and both CLI and web interfaces for easy file transfers.
- [Pydio](https://selfhost.directory/project/pydio): Pydio Cells is a self-hosted file sharing platform with document management, 5TB transfers, WebDAV, sync, and no-code automation. Runs on your infra with MySQL/MariaDB.
- [Pydio Cells](https://selfhost.directory/project/pydio-cells): Future-proof content collaboration platform
- [qbitwebui](https://selfhost.directory/project/qbitwebui): Self-hosted web UI for managing qBittorrent. Features multi-instance support, real-time monitoring, Prowlarr search, cross-seeding, file browser, custom views.
- [quickblaze-encrypt](https://selfhost.directory/project/quickblaze-encrypt): QuickBlaze Encrypt is a self-hosted, open-source PHP app for sending secrets via one-time view links that self-destruct after being read once.
- [retronas](https://selfhost.directory/project/retronas): Use a Raspberry Pi, old computer or VM as network storage for different retro computers and consoles
- [Riven](https://selfhost.directory/project/riven): Self-hosted media automation platform discovers content through plugins, streams from debrid services via FUSE VFS to Plex/Jellyfin/Emby libraries.
- [Safebucket](https://selfhost.directory/project/safebucket): Safebucket is a self-hosted, open-source file sharing platform where uploads/downloads bypass the server via presigned URLs to S3-compatible storage.
- [scrt.link](https://selfhost.directory/project/scrtlink): scrt.link is a self-hosted, open-source service for sharing passwords and files via end-to-end encrypted, ephemeral links that self-destruct after viewing.
- [seafile-server](https://selfhost.directory/project/seafile-server): Seafile Server is a self-hosted open-source platform for file synchronization, sharing, and collaborative document editing with end-to-end encryption and team workspaces.
- [SeaweedFS](https://selfhost.directory/project/seaweedfs): Self-hosted, open-source distributed storage: S3 objects, POSIX files, Iceberg tables and WebDAV/SFTP from one weed binary, with O(1) disk reads.

## Links

- [Homepage](https://codeberg.org/shroff/phylum)
- [Matrix Chat](https://matrix.to/#/#phylum_cloud:matrix.org)
- [Wiki Documentation](https://codeberg.org/shroff/phylum/wiki/)

---
Source: https://selfhost.directory/project/phylum