# Self-host SABnzbd

> A Usenet binary downloader with a web interface, RSS and post-processing. GPL-2.0 licensed. On first open, run the setup wizard to add your Usenet provider; if you serve it on a domain, add that host name under Config, Special, host_whitelist.

- Page: https://levelrail.com/templates/sabnzbd/
- JSON: https://levelrail.com/templates/sabnzbd.json
- Category: Applications
- Licence: GPL-2.0-or-later (Copyleft license)
- Source: https://github.com/sabnzbd/sabnzbd
- Upstream docs: https://sabnzbd.org/wiki/

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

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| sabnzbd | lscr.io/linuxserver/sabnzbd | 5.1.3 | 8080 | config -> /config; downloads -> /downloads |

## Environment

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

## Deploy

### CLI

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

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain sabnzbd=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/sabnzbd/install \
  -d '{
    "name": "my-sabnzbd"
  }'
```

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

## Questions

### Can I deploy SABnzbd 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 SABnzbd, 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/sabnzbd:5.1.3 is what you deploy there.

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