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.

GitHub
drive logo

Self-host drive

v0.25.3

Team file sharing and document collaboration platform

BetaOpen SourceMIT
Updated8 hours ago
LanguagePython
Setup difficultyAdvanced
Stars
480
Ports
3000 (Frontend development server), 8000 (Backend development server), 8071 (Django admin), 80 (HTTP ingress), 443 (HTTPS ingress)
Requires
OIDC provider, PostgreSQL, Redis, S3-compatible Object Storage
Install with Kubernetes
LaSuite Drive web interface showing file browser

What is drive?

LaSuite Drive is a self-hosted platform for team file sharing and document collaboration. It runs on Django and React, letting users store files centrally, preview many formats in the browser, and edit documents online through WOPI with Collabora or OnlyOffice. Access control is granular — permissions can be set per file or folder, and outsiders can be invited without accounts. Other features include a trash bin with restore, malware scanning on uploads, a file-picker SDK for embedding, customizable UI themes, storage quotas, and workspaces for organizing team resources. Authentication relies on any OIDC provider. The stack requires PostgreSQL, Redis, and S3-compatible object storage. Production deployments use Kubernetes (Helm charts provided), while local development runs via Docker Compose and Make. The code is MIT-licensed and maintained by the French public-sector team DINUM.

Should you self-host drive?

drive scores 49/100 on selfhost.directory (how scoring works) and ranks #19 of 27 in File Sharing & Collaboration. It has 480 GitHub stars.

It shipped 15 stable releases in the past year. The latest, v0.25.3, came out on 23 October 2026. New versions land roughly every 5 days.

Setup is advanced: plan for several services and some ongoing maintenance. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Nextcloud (86/100, 37 325 stars). It scores higher overall, so compare the two before you pick. See drive vs Nextcloud side by side.

Features

  • Customizable frontend style
  • Django Admin interface
  • External user invitations
  • File Picker SDK
  • File Preview
  • File storage and sharing
  • Granular Access Control
  • Malware detection
  • OIDC Authentication
  • Online document editing (WOPI)
  • Powerful Search
  • Storage Quotas
  • Trash bin with restore
  • Workspaces

drive README

How to install drive

Install drive with Kubernetes

Environment variables
OIDC_OP_JWKS_ENDPOINT, OIDC_OP_AUTHORIZATION_ENDPOINT, OIDC_OP_TOKEN_ENDPOINT, OIDC_OP_USER_ENDPOINT, OIDC_OP_LOGOUT_ENDPOINT, OIDC_RP_CLIENT_ID, OIDC_RP_CLIENT_SECRET, OIDC_RP_SIGN_ALGO, OIDC_RP_SCOPES, OIDC_USER_FIELD_TO_SHORTNAME, OIDC_USER_FIELDS_TO_FULLNAME, REDIS_URL, DJANGO_CELERY_BROKER_URL, DB_HOST, DB_NAME, DB_USER, DB_PASSWORD, DB_PORT, AWS_S3_ENDPOINT_URL, AWS_S3_ACCESS_KEY_ID, AWS_S3_SECRET_ACCESS_KEY, AWS_STORAGE_BUCKET_NAME, AWS_S3_SIGNATURE_VERSION, STORAGES_STATICFILES_BACKEND, MEDIA_BASE_URL

$ helm repo add drive https://suitenumerique.github.io/drive/ $ helm repo update $ helm install drive drive/drive -f docs/examples/helm/drive.values.yaml

Production deployment method used by maintainers

How to configure drive

  • AWS_S3_ACCESS_KEY_IDS3 access key ID

    S3 access key ID

  • AWS_S3_ENDPOINT_URLS3 endpoint URL

    S3 endpoint URL

  • AWS_S3_SECRET_ACCESS_KEYS3 secret access key

    S3 secret access key

  • AWS_S3_SIGNATURE_VERSIONS3 signature version

    S3 signature version

  • AWS_STORAGE_BUCKET_NAMES3 bucket name

    S3 bucket name

  • DB_HOSTPostgreSQL host

    PostgreSQL host

  • DB_NAMEPostgreSQL database name

    PostgreSQL database name

  • DB_PASSWORDPostgreSQL password

    PostgreSQL password

  • DB_PORT5432PostgreSQL port

    PostgreSQL port

  • DB_USERPostgreSQL username

    PostgreSQL username

  • DJANGO_CELERY_BROKER_URLCelery broker URL (Redis)

    Celery broker URL (Redis)

  • MEDIA_BASE_URLBase URL for media files

    Base URL for media files

  • OIDC_OP_AUTHORIZATION_ENDPOINTOIDC provider authorization endpoint URL

    OIDC provider authorization endpoint URL

  • OIDC_OP_JWKS_ENDPOINTOIDC provider JWKS endpoint URL

    OIDC provider JWKS endpoint URL

  • OIDC_OP_LOGOUT_ENDPOINTOIDC provider logout endpoint URL

    OIDC provider logout endpoint URL

  • OIDC_OP_TOKEN_ENDPOINTOIDC provider token endpoint URL

    OIDC provider token endpoint URL

  • OIDC_OP_USER_ENDPOINTOIDC provider userinfo endpoint URL

    OIDC provider userinfo endpoint URL

  • OIDC_RP_CLIENT_IDOIDC relying party client ID

    OIDC relying party client ID

  • OIDC_RP_CLIENT_SECRETOIDC relying party client secret

    OIDC relying party client secret

  • OIDC_RP_SCOPESOIDC scopes requested

    OIDC scopes requested

  • OIDC_RP_SIGN_ALGOOIDC signing algorithm

    OIDC signing algorithm

  • OIDC_USER_FIELDS_TO_FULLNAMEOIDC user fields for full name

    OIDC user fields for full name

  • OIDC_USER_FIELD_TO_SHORTNAMEOIDC user field for short name

    OIDC user field for short name

  • REDIS_URLRedis connection URL

    Redis connection URL

  • STORAGES_STATICFILES_BACKENDDjango static files storage backend

    Django static files storage backend

drive releases & version history

More in File Sharing & Collaboration

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…