# Self-host Bazarr

> Companion to Sonarr and Radarr that finds and downloads subtitles for your media library.

- Page: https://levelrail.com/templates/bazarr/
- JSON: https://levelrail.com/templates/bazarr.json
- Category: Media
- Licence: GPL-3.0 (Copyleft license)
- Source: https://github.com/morpheus65535/bazarr
- Upstream docs: https://wiki.bazarr.media

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

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| bazarr | lscr.io/linuxserver/bazarr | 1.5.1 | 6767 | bazarr_config -> /config |

## Environment

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

## Deploy

### CLI

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

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/bazarr/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 Bazarr 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 bazarr for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/bazarr:1.5.1 is what you deploy there.

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