# Self-host copyparty

> A portable file server with resumable uploads, a media player, and search, in a single small image.

- Page: https://levelrail.com/templates/copyparty/
- JSON: https://levelrail.com/templates/copyparty.json
- Category: Storage
- Licence: MIT (Permissive license)
- Source: https://github.com/9001/copyparty
- Upstream docs: https://github.com/9001/copyparty

## Requirements
- Memory: about 256 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 1.20.24

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| copyparty | copyparty/ac | 1.20.24 | 3923 | copyparty_files -> /w; copyparty_config -> /cfg |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| copyparty | ADMIN_PASSWORD | generated |

## Deploy

### CLI

```bash
levelrail-cli templates deploy copyparty --name my-copyparty
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/copyparty/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy copyparty on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for copyparty, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image copyparty/ac:1.20.24 is what you deploy there.

Self-host copyparty, copyparty docker compose file, deploy copyparty on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
