# Self-host Snapdrop

> Local network file sharing in the browser, inspired by AirDrop.

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

## Requirements
- Memory: about 128 MiB
- amd64: unknown, arm64: unknown
- Needs configuration before start: no
- Pinned image tag: latest

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| snapdrop | lscr.io/linuxserver/snapdrop | latest | 80 | snapdrop_config -> /config |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| snapdrop | PGID | preset |
| snapdrop | PUID | preset |
| snapdrop | TZ | preset |

## Deploy

### CLI

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

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/snapdrop/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 Snapdrop 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 Snapdrop, 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 lscr.io/linuxserver/snapdrop:latest is what you deploy there.

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