Skip to main content
MIT License · 60-Second Kit

Self-host FileFerry in 60 seconds

Deploy the MIT-licensed FileFerry stack on your own VPS, home server, or Raspberry Pi with Docker Compose, prebuilt multi-arch images, local disk or S3/R2 storage, and ./doctor.sh diagnostics.

60-second Docker Compose quickstart

MIT License · Zero paywalls

FileFerry runs cleanly on any 1 GB VPS, home server, or Raspberry Pi 4/5 using prebuilt multi-arch (linux/amd64, linux/arm64) images published to ghcr.io/dunamismax/fileferry-web. Only standard HTTPS ports (80/tcp and 443/tcp+udp) are required. Accounts and billing stay completely off by default.

git clone https://github.com/dunamismax/fileferry.git
cd fileferry/deploy/docker
cp .env.example .env
# Edit .env: set FILEFERRY_DOMAIN and POSTGRES_PASSWORD (openssl rand -hex 24)
docker compose up -d
./doctor.sh

Prefer building locally from source? Run docker compose up -d --build instead of pulling prebuilt images.

End-to-end ./doctor.sh checks

Every self-hosted install includes ./doctor.sh to verify:

  • • Automatic HTTPS certificates and strict security headers
  • • Zero Caddy access logs and preserved 304 CSP headers
  • • /healthz readiness (PostgreSQL 18 + blob storage)
  • • Root-only secret file permissions
  • • Live encrypted upload, download, and burn round-trip

Local disk or S3 / R2 / MinIO

By default, FileFerry stores 5 MiB encrypted chunks atomically on local disk (/var/lib/fileferry/blobs) with zero external services. Need high-throughput object storage? Set STORAGE_BACKEND=s3 to enable the pure-Node AWS SigV4 backend for Cloudflare R2, AWS S3, Backblaze B2, or MinIO — including direct presigned chunk uploads and downloads.

Always exclude ciphertext directories and buckets from snapshots/backups so burned files vanish.

Tune your own limits

In self-host mode (FILEFERRY_MODE=selfhost), set FILEFERRY_MAX_BYTES, FILEFERRY_MAX_RETENTION_SECONDS, and FILEFERRY_MAX_DOWNLOADS (or unlimited) in .env to match your hardware and team policy.