copyparty
Portable file server with accelerated resumable uploads
Alternative to: dropbox, google drive, wetransfer
Turn almost any device into a file server with resumable uploads and downloads using any web browser. Serves files over HTTP(S), WebDAV, SFTP, FTP(S), TFTP and SMB, with per-folder user permissions, temporary share links, thumbnails, search, a media player and a file manager in the browser.
copyparty Docker Compose example
Self-host copyparty on your own server, homelab, or VPS starting from this Docker Compose example.
It runs copyparty in Docker containers using the official copyparty/ac:latest image, with persistent volumes and automatic restarts preconfigured.
Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.
services:
copyparty:
image: copyparty/ac:latest
user: "1000:1000"
restart: unless-stopped
# Arguments are appended to the image's built-in config (which loads every
# *.conf in /cfg). The admin credentials are templated to user variables via
# x-winterflow overrides.
command:
# Admin account, as username:password.
- -a
- admin:changeme
# Share /w (the files volume) at the webroot; only the admin account has
# access (A = read/write/move/delete/admin/dotfiles).
- -v
- /w::A,admin
# Index the filesystem and media tags (search, deduplication, media info).
- -e2dsa
- -e2ts
# Keep the index and thumbnails in the config volume instead of a .hist
# folder inside the shared files.
- --hist=/cfg/hists
# Trust X-Forwarded-For from reverse proxies on private networks.
- --xff-src=lan
environment:
# Write log messages immediately instead of buffering them.
PYTHONUNBUFFERED: "1"
volumes:
- config:/cfg
- files:/w
# The thumbnailer may keep finishing up for 10s after the shutdown signal.
stop_grace_period: 15s
healthcheck:
# The "/._" path hides the probe from the logs.
test: ["CMD-SHELL", "wget --spider -q 127.0.0.1:3923/?reset=/._"]
interval: 1m
timeout: 2s
retries: 5
start_period: 15s
volumes:
config:
files:
Values set to changeme are required — replace them with your own
values before starting copyparty.
Prefer a managed setup? WinterFlow installs, configures, and updates copyparty for you using this same Docker Compose configuration.