# Self-host PairDrop

> An AirDrop-style app for sending files and messages between devices on the same network, from any browser.

- Page: https://levelrail.com/templates/pairdrop/
- JSON: https://levelrail.com/templates/pairdrop.json
- Category: Productivity
- Licence: GPL-3.0 (Copyleft license)
- Source: https://github.com/schlagmichdoch/PairDrop
- Upstream docs: https://github.com/schlagmichdoch/PairDrop

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

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| pairdrop | lscr.io/linuxserver/pairdrop | 1.11.2 | 3000 | none |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| pairdrop | PGID | preset |
| pairdrop | PUID | preset |
| pairdrop | RATE_LIMIT | preset |
| pairdrop | TZ | preset |

## Deploy

### CLI

```bash
levelrail-cli templates install pairdrop --name my-pairdrop
```

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain pairdrop=app.example.com.

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/pairdrop/install \
  -d '{
    "name": "my-pairdrop"
  }'
```

Create a token in the dashboard first. Name, env and domains are the request fields.

## Questions

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

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id pairdrop for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/pairdrop:1.11.2 is what you deploy there.

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