MyDrive
ES

Open source · self-hosted · AGPLv3

Your own cloud, running on your own rules.

MyDrive is a self-hosted alternative to Drive and Dropbox that puts you in charge of every setting most platforms hide from you: storage quotas per user, the payment methods you accept, and where the data actually lives.

docker-compose.yml
services:
  mydrive:
    image: ghcr.io/iiaanloopez/mydrive:latest
    ports:
      - "8080:8080"
    environment:
      MYDRIVE_DEFAULT_QUOTA: 5GB
      MYDRIVE_PAYMENTS_ENABLED: stripe,manual
    volumes:
      - mydrive_data:/data

Runs on the infrastructure you already have

  • Docker
  • Docker Compose
  • PostgreSQL
  • Nginx / Traefik
  • S3-compatible storage
  • Let's Encrypt

How it works

From empty server to running instance in four steps.

  1. 1

    Deploy the containers

    Copy the Docker Compose file, set your domain, and start the stack. No build step required.

  2. 2

    Define plans and quotas

    Create storage plans (5GB, 50GB, 1TB, unlimited) and assign them to users or groups.

  3. 3

    Turn on a payment method

    Enable Stripe, PayPal, crypto or manual bank transfer — pick as many as you want to accept.

  4. 4

    Invite your users

    Share an invite link or open registration. Your instance, your terms of service.

What you get

Every setting a hosting provider needs, none of the lock-in.

Per-user storage quotas

Set limits by plan or by individual account, and change them at any time without touching code.

Configurable payment methods

Stripe, PayPal, crypto and manual transfer ship as modules you switch on — none are hardcoded.

Self-hosted by design

Runs anywhere Docker runs: a VPS, a home server, or your company’s own datacenter.

Encryption at rest

Files are encrypted on disk, with keys you control and can rotate independently of the app.

A complete REST API

Automate provisioning, quota changes, and file operations from your own scripts and tools.

Multi-tenant from day one

Run one instance for many organizations, each with isolated users, plans, and billing.

Configure everything

No forked code required to change how your instance works.

Quotas, payment providers, upload limits, allowed file types, trash retention and backup targets are all environment-driven. Edit one file, restart the stack.

Storage plans

Free3.2GB / 5GB
Pro41GB / 100GB
Team210GB / 1000GB

Payment methods

Why not just use...

How MyDrive compares

MyDrive Nextcloud Google Drive
Hosting model Self-hosted only Self-hosted or paid cloud Vendor cloud only
Per-user quota configuration Built in, per plan or account Available, more setup Fixed tiers only
Built-in payment methods Stripe, PayPal, crypto, manual Requires paid add-ons Not applicable
License AGPLv3, fully open AGPLv3 core, paid apps Proprietary

Quick install

Live in minutes on any VPS.

Requires Docker and Docker Compose. See the full installation guide for reverse proxy and TLS setup.

Read the full installation guide →
docker-compose.yml
services:
  mydrive:
    image: ghcr.io/iiaanloopez/mydrive:latest
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      MYDRIVE_DOMAIN: drive.example.com
      MYDRIVE_DEFAULT_QUOTA: 5GB
      MYDRIVE_PAYMENTS_ENABLED: stripe,manual
    volumes:
      - mydrive_data:/data
      - mydrive_db:/var/lib/postgresql/data

volumes:
  mydrive_data:
  mydrive_db:

Community

Built in the open, with the people who run it.

"We migrated our 40-person team in an afternoon. Per-department quotas replaced an entire spreadsheet."
Sysadmin, design agency
"I use it to sell storage to my Discord community. Turning on Stripe took minutes, not a sprint."
Community maintainer
"Nothing to envy in Nextcloud for our case: fewer modules, more control over the essentials."
Platform engineer

Ready to run your own cloud?

MyDrive is free, open source, and yours to modify. No account required to get the source.