Self-hosted app·Files, photos and passwords
Copyparty hosting in the Swiss Alps.
Copyparty hosting in ALP1, Swiss Alps: Docker Compose behind Caddy on VPS Standard ($12.99/mo), backups to a 1 TB S3 bucket, and the rules that apply.
- Python
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
What copyparty is, and who maintains it.
Copyparty is a file server written in Python by a developer who publishes as "ed" (GitHub account 9001), under the MIT licence. It needs only a Python interpreter; thumbnails, media tags and audio transcoding come from optional components (Pillow, Mutagen, FFmpeg) that the Docker images bundle. One process serves the web interface and, if you enable them, WebDAV, SFTP, FTP(S), TFTP and SMB, all against the same accounts. Browser uploads go through up2k: the browser hashes the file in chunks, so an interrupted upload resumes where it stopped and the server recognises content it already holds.
We checked this page against release 1.20.26 of 14 October 2026. The project moves fast, from 1.20.3 in January to 1.20.26 in October 2026, and it has a real advisory history: a path traversal in 2023 (CVE-2023-37474, fixed in 1.8.2), then in July 2026 a filekey/dirkey confusion fixed in 1.20.17 and an FTP bug, fixed in 1.20.19, that let uploads land outside the defined volumes. We read that as a project that discloses promptly, run essentially by one person, with no vendor behind it. Pin the image version and update on purpose.
People who pick copyparty over Nextcloud usually want a file drop rather than groupware: an architecture office in Basel swapping plan sets with contractors, or a photographer in Lausanne delivering a 40 GB shoot. Nextcloud wants PHP, a database and a cache; copyparty is one process with an SQLite index, and no calendar or sync client of its own.

02/06
Requirements and sizing.
What costs resources is what you ask copyparty to do. Transfers run on one CPU core by default (-j 1), and upstream benchmarks on desktop hardware are in GiB/s, so on a 1 Gbps port the network is the ceiling. Thumbnailing is the expensive part: it uses every core (th-mt defaults to the core count), and FFmpeg working through a folder of video is what pushes a 4 GB plan. The first e2dsa scan also hashes every existing file, so migrating 150 GB in means reading 150 GB once.
Copyparty keeps its index, thumbnails and transcodes in a .hist folder per volume; we move it to /cfg/hists, still on local NVMe. The README warns that an up2k.db on a network filesystem behaves unpredictably when the connection drops, and a FUSE-mounted S3 bucket is a network filesystem. That is why the bucket backs the server up rather than holding its main volume. Only ports 80 and 443 face the internet; copyparty's 3923 stays on loopback, and SFTP on 3922 is optional.
| Plan | vCPU / RAM / NVMe | Transfer / port | Per month | Fit for copyparty |
|---|---|---|---|---|
| VPS Starter | 2 / 2 GB / 80 GB | 10 TB / 1 Gbps | $6.99 | Private drop box on copyparty/im, no video thumbnails |
| VPS Standard | 4 / 4 GB / 160 GB | 15 TB / 1 Gbps | $12.99 | Recommended: team share with thumbnails and search |
| VPS Pro | 6 / 8 GB / 320 GB | 20 TB / 1 Gbps | $22.99 | Larger working set, video-heavy libraries |
| Rigi (dedicated) | 6 cores, 12 threads / 32 GB / 1 TB | Unmetered under fair use / 10 Gbps | $64.99 | Public distribution, egress well beyond 15 TB |
The transfer allowance is the honest limit of the VPS. Fifteen terabytes a month is about 46 Mbit/s sustained around the clock; at full line rate it would last about 33 hours (both theoretical). For a team share that is generous. For a public link to a large file it is not, and one of our dedicated servers with unmetered traffic under fair use is the right tool.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/06
Deploying copyparty with Docker Compose.
Order VPS Standard with Debian 13, point a DNS record such as files.example.com at its IPv4 address, then install Docker Engine from Docker's Debian repository and Caddy from Debian (apt install caddy). The container runs as UID 1000:
mkdir -p /srv/copyparty/cfg /srv/copyparty/data/team /srv/copyparty/data/inbox
chown -R 1000:1000 /srv/copyparty/srv/copyparty/compose.yaml:
services:
copyparty:
image: copyparty/ac:1.20.26
container_name: copyparty
user: "1000:1000"
ports:
- "127.0.0.1:3923:3923"
volumes:
- /srv/copyparty/cfg:/cfg
- /srv/copyparty/data:/w
restart: unless-stoppedPublishing on 127.0.0.1 matters because Docker writes its own packet-filter rules for published ports and goes around ufw, so a firewall rule alone would not have closed 3923. /cfg is mounted read-write because the image sets XDG_CONFIG_HOME=/cfg: the shares and sessions databases, SFTP host keys and auto-generated salts live there. Several guides mount it read-only, and then share links, logins and password hashes stop matching after the next rebuild.
/srv/copyparty/cfg/copyparty.conf:
[global]
e2dsa # index all volumes: search, duplicate check, unpost
e2ts # read media tags (FFprobe ships in the ac image)
hist: /cfg/hists/ # keep index and thumbnails out of the shared tree
xff-src: lan # trust X-Forwarded-For from the Docker bridge, where Caddy's requests arrive
ah-alg: argon2 # hash account passwords (the default stores them in plaintext)
usernames # log in with username and password
df: 10 # refuse uploads when less than 10 GiB is free
no-robots
vc-url: https://api.copyparty.eu/advisories
[accounts]
anna: <hash printed by --ah-cli>
[/]
/w/team
accs:
rwmda: anna
[/inbox]
/w/inbox
accs:
w: *
rwmd: anna
flags:
nohtml/inbox is an upload-only drop folder: anyone can send files, only Anna sees them. nohtml serves uploaded HTML as plain text, so a stranger's file cannot run script in Anna's session when she opens it; CVE-2026-30974 showed older releases did not extend this to SVG. The xff-src: lan line exists because copyparty trusts forwarded headers only from 127.0.0.0/8 by default, while Docker delivers Caddy's connections from the bridge gateway. Leave it out and every visitor appears to share one address, so the default ban (more than 9 wrong passwords in 60 minutes locks that address out for 24 hours) hits all your users at once. The log names the address it saw if yours differs. Do not filter visitors with ipa either: it checks the TCP source, which behind Caddy is always the proxy.
Generate Anna's hash with docker compose run --rm copyparty --ah-cli, which hashes a password without storing or displaying it. The hash depends on a salt kept in /cfg, one more reason that directory must persist.
/etc/caddy/Caddyfile:
files.example.com {
reverse_proxy 127.0.0.1:3923
}Caddy fetches the certificate, sends X-Forwarded-Proto (without it copyparty assumes plain HTTP) and puts no cap on request bodies, which suits up2k's chunks. Run systemctl reload caddy and docker compose up -d, watch docker compose logs -f copyparty, then check from a private window that / asks for a login and /inbox accepts an upload without listing anything.
To update, bump the tag, read the release notes (1.20.17, for example, began enforcing CSP nonces, which can break JavaScript plugins), then docker compose pull && docker compose up -d.
04/06
Where the 1 TB bucket fits.
Our object storage is S3-compatible buckets: endpoint and access keys, billed by size only, no request fees, unlimited traffic both ways at 5 Gbps. It is not a disk you attach to the VPS, and copyparty has no S3 client of its own. That leaves two sound uses. The first is backups with restic, over the S3 API:
apt install restic
export AWS_ACCESS_KEY_ID=<access key> AWS_SECRET_ACCESS_KEY=<secret key>
export RESTIC_REPOSITORY=s3:https://<endpoint from the client panel>/<bucket>/copyparty
export RESTIC_PASSWORD_FILE=/root/.restic-pass
restic init
restic backup /srv/copyparty --exclude /srv/copyparty/cfg/hists
restic forget --keep-daily 7 --keep-weekly 4 --pruneThumbnails regenerate and the index rebuilds on the next e2dsa scan, so excluding hists costs you only the upload times and uploader addresses it recorded. The rest of /cfg is small and is the part you cannot recreate. More on retention and restore drills: object storage.
The second is a read-only archive: a finished project or media library in another bucket path, mounted with rclone mount --read-only --allow-other before the container starts and exposed as a volume with read rights only. Give it the flags nohash: . and dthumb so the first scan lists files instead of pulling the whole terabyte through the mount. Never point an upload folder at that mount; rclone mount is for read-mostly media, not for copyparty's upload path and database.
05/06
Cost.
| Item | Per month |
|---|---|
| VPS Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB transfer, 1 Gbps | $12.99 |
| Object storage 1 TB (S3-compatible, no request fees) | $7.96 |
| Total | $20.95 |
| Optional: daily VPS backups (+20 %) | +$2.60 |
| Optional: extra IPv4 | +$2.00 |
| Optional: priority support | +$10.00 |
The VPS comes with full root and the 15 TB allowance; the bucket's traffic is unlimited. Yearly billing takes roughly 25 % off the VPS, about $9.75 a month (theoretical).
Payment is in cryptocurrency only (Monero, Bitcoin, Tether, Ethereum, Litecoin and other coins), with balances in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500. A year of this pair at monthly prices is $251.40, which lands in the 15 % tier for $37.71 of credit (theoretical). The unused paid part of a top-up is refundable within 14 days. Opening an account is no-KYC: an email address is enough. Every plan and option is on the pricing page.
06/06
Acceptable use and your obligations.
In Switzerland, downloading a work for private use is permitted, software excepted; making it available online without permission is not. A copyparty share link to a film or a cracked application is making it available, whoever clicks it, and we do not allow it, nor malware or phishing pages. Copyparty serves uploaded HTML as a web page unless nohtml is set, so a careless upload folder can become a phishing host under your name. Read-write volumes open to every visitor, which is what the Docker image gives you without a config and what the repository's basic example grants on /, are how that usually starts. The full rules are in our acceptable use policy.
A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to you; you remove the content or justify it. We act on a decision of a competent Swiss authority, or where content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Since 1 April 2020, CopA art. 39d also requires a host to stop a work reappearing, but only when it was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. A public upload area open to anyone and used for swapping files is the setup most likely to meet that last condition, so keep upload folders write-only, nohtml and capped with df.
Accounts you hand out act under your responsibility toward us, and keeping copyparty patched is part of running it. If the files hold your clients' personal data, you are the controller under the revised Federal Act on Data Protection, in force since 1 September 2023; the European Commission confirmed on 15 January 2024 that Switzerland remains adequate, so EU clients can send files to ALP1 without additional transfer safeguards.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can copyparty store uploads directly in the object-storage bucket?
No. Copyparty serves directories from a filesystem and has no S3 backend, and its README warns that the database misbehaves on network filesystems. Keep uploads on the VPS's NVMe and use the bucket for restic backups or a read-only rclone-mounted archive.
Docker image or the single Python file?
Upstream calls copyparty-sfx.py the best download because it needs only Python; you add FFmpeg and Pillow and a systemd unit yourself. We use copyparty/ac (163 MiB installed) because it bundles thumbnailing and makes version pinning a one-line change. copyparty/im (70 MiB) leaves out FFmpeg and suits VPS Starter.
How do I keep copyparty patched?
Set vc-url and the control panel warns when your version has a published advisory (vc-exit shuts the server down instead). Then bump the image tag, read the notes and run docker compose pull && docker compose up -d. Two access-control fixes shipped in July 2026 alone.
What happens if my copyparty VPS goes past 15 TB in a month?
VPS traffic is not unmetered; VPS Standard includes 15 TB a month.
Is a copyparty server in ALP1 out of reach of US authorities?
No host can promise that. As of 31 October 2026, the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That removes one shortcut for foreign data requests; it does not place your server beyond a Swiss court order.
Do I need to send ID?
No. An email address is enough to open an account, payment is in cryptocurrency, and business customers paying in crypto are welcome. For anything account-specific, open a support ticket from the client panel.
Sources
Every fact on this page, with its source
Consulted 4 Nov 2026 unless noted.
Swiss law and authorities
- Revised FADP in force since 1 September 2023Fedlex, RS 235.1
- CopA art. 39d, in force since 1 April 2020Fedlex, LDA · verified 31 Oct 2026
- Private download permitted, making available online notIPI
EU and other countries
- EU adequacy for Switzerland confirmed 15 January 2024European Commission
- CLOUD Act executive agreementsUS Department of Justice · verified 31 Oct 2026
Industry, providers and software
- copyparty repository and README (MIT licence, Python-only requirement, protocols, .hist/up2k.db location and network-filesystem warning, reverse-proxy notes, benchmarks)github.com/9001/copyparty
- copyparty 1.20.26, released 14 October 2026release notes
- copyparty 1.20.17 (dirkey fix, CSP nonces) and 1.20.19 (FTP upload outside volume), July 2026releases
- Reverse proxies and client IPsdocs/xff.md
- Docker editions and sizes, /w and /cfg, -u 1000, open default without configscripts/docker/README.md
- XDG_CONFIG_HOME=/cfg in the ac imageDockerfile.ac
- Basic Docker example config (everyone read-write on /, vc-url)basic-docker-compose/copyparty.conf
- Upload deduplication default-disabled since 1.15.01.16.3 release notes
- Docker Engine on Debiandocs.docker.com
Other references
- Command-line defaults (-j, th-mt, xff-src, ban-pw, ah-alg, ah-cli, ipa, df, no-hash, dthumb, usernames, vc-url; no S3 option)copyparty.eu/cli
- 1.20.x release history from January 2026openmamba package history
- CVE-2023-37474, fixed in 1.8.2GitLab Advisory Database
- CVE-2026-30974 (nohtml and SVG)Corgea, copyparty advisories
- CVE-2026-70657, fixed in 1.20.17Feedly
- Swico Code of Conduct Hosting, revision in force from 1 April 2025IT Reseller, 13 March 2025
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
