← Back to all

Seafile

Estimated

Fast, reliable file sync with desktop and mobile clients. Does one thing and does it well.

ReplacesDropbox Plus ($120/yr)
Memory footprint350 MB idle · 700 MB peak
Architecturesamd64 / arm64
LicenseAGPL-3.0 · Medium

Watch out

Files are stored as internal blocks, not plain files — you can't browse them in the NAS file manager. Keep a separate backup of the data volume.

Zero-open-port Compose snippet

Includes mem_limit and 127.0.0.1 binding. Open in Planner to combine with Tailscale/Cloudflare & .env.

# Generated by NASPicks (https://naspicks.com/planner/)
# Hardware: UGREEN NASync DXP2800 (8 GB, ugos) | Peak est: 0.7 GB / 6.7 GB
# Zero-open-port default: web ports bind to 127.0.0.1 and are reached via tailscale.
# Every service includes mem_limit (peak x 1.2) to help prevent host OOM freezes.

services:
  seafile:
    image: seafileltd/seafile-mc:11.0-latest
    container_name: seafile
    restart: unless-stopped
    mem_limit: 576m
    ports:
      - "127.0.0.1:8082:80"
    environment:
      - TIME_ZONE=${TZ}
      - DB_HOST=seafile-db
      - DB_ROOT_PASSWD=${SEAFILE_DB_ROOT_PASSWORD}
      - SEAFILE_ADMIN_EMAIL=${SEAFILE_ADMIN_EMAIL}
      - SEAFILE_ADMIN_PASSWORD=${SEAFILE_ADMIN_PASSWORD}
    volumes:
      - ${DATA_DIR}/seafile/data:/shared
    depends_on:
      - seafile-db
      - seafile-memcached
    networks:
      - naspicks

  seafile-db:
    image: mariadb:10.11
    container_name: seafile_db
    restart: unless-stopped
    mem_limit: 256m
    environment:
      - MYSQL_ROOT_PASSWORD=${SEAFILE_DB_ROOT_PASSWORD}
      - MYSQL_LOG_CONSOLE=true
    volumes:
      - seafile_db:/var/lib/mysql
    networks:
      - naspicks

  seafile-memcached:
    image: memcached:1.6-alpine
    container_name: seafile_memcached
    restart: unless-stopped
    mem_limit: 128m
    entrypoint: memcached -m 96
    networks:
      - naspicks

volumes:
  seafile_db:

networks:
  naspicks:
    driver: bridge

Comments (GitHub Discussions)

GitHub Discussions ↗

Comments load lazily to keep pages fast everywhere.