copyparty

by QuenchWorks

Helm chartv0.0.3App 1.20.28MITVerified publisher

copyparty: a portable file server with resumable uploads, deduplication, WebDAV, media indexing and per-volume permissions, with the admin password generated at install and the files on a volume. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks copyparty

Hardened copyparty: a portable file server with resumable uploads, deduplication, WebDAV, media indexing, a markdown editor, accounts and per-volume permissions. The image installs the release sdist into a venv on Wolfi Python with jinja2 from Wolfi; it runs as uid 1001 and is CVE-gated at build, cosign-signed and pinned by digest.

Install

helm install files oci://ghcr.io/quenchworks/charts/copyparty
kubectl get secret files-copyparty -o jsonpath='{.data.password}' | base64 -d   # log in as admin

copyparty serves plain HTTP here: put TLS on an ingress or gateway in front of the Service.

Configuration

KeyDefaultWhat it does
admin.usernameadminThe account the chart creates
admin.password, admin.existingSecretgeneratedIts password, or a Secret with key password
volumes[{url: /, path: /srv, access: "A,admin"}]Shares: URL, path under /srv, copyparty permission groups joined by : (r, w, m, d, g, a, A; a group with no names is everyone)
extraArgs[]More copyparty arguments, e.g. -e2dsa to index every file
persistence.size5GiThe files and copyparty's state (/srv/.copyparty, hidden)

A public read-only share next to the private one:

volumes:
  - { url: /, path: /srv/private, access: "A,admin" }
  - { url: /pub, path: /srv/pub, access: "r:A,admin" }

Verify the image

cosign verify ghcr.io/quenchworks/images/copyparty \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy copyparty with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has copyparty on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcopyparty is pinned at v0.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply