Bazarr¶
Bazarr is a companion application to Sonarr and Radarr that automatically downloads subtitles for your media library.
Why¶
Finding quality subtitles for every movie and TV episode is tedious manual work. Bazarr automates subtitle management — it monitors your Sonarr and Radarr libraries, searches multiple subtitle providers, and downloads the best match automatically. This keeps your media library accessible for non-native speakers or hearing-impaired viewers without any ongoing effort.
Compose File¶
Access¶
| URL | Description |
|---|---|
https://bazarr.${DOMAINNAME} |
Web UI (Traefik forward-auth) |
Architecture¶
- Image: linuxserver/bazarr (s6-overlay)
- User/Group:
PUID=3111/PGID=3200(svc-app-bazarr:media) — s6-overlay handles privilege drop internally - Networks:
arr-egress(macvlan, default route for internet traffic),bazarr-frontend(bridge, Traefik-facing,internal: true),arr-stack-backend(internal bridge for arr app inter-communication) - Reverse proxy: Traefik with
chain-auth@filemiddleware - Media mount:
/mnt/archive-pool/content→/data— downloads and media on the same filesystem for hardlink support
s6-overlay Exceptions¶
This container uses LinuxServer's s6-overlay init system. See Architecture for the full rationale:
read_onlyis omitted: s6-overlay writes to the root filesystem at startupuser:is omitted: s6-overlay starts as root and drops to PUID:PGID internallycap_add:CHOWN,SETUID,SETGID,SETPCAPfor s6-overlay privilege management
Networking¶
Bazarr uses the arr-stack egress network pattern. arr-egress (macvlan) is listed first so Docker assigns it as the default route — all internet traffic exits through the egress network. The bazarr-frontend bridge is internal: true, preventing internet egress via the Traefik bridge.
Secrets¶
Managed via secret.sops.env (SOPS-encrypted, decrypted to .env at deploy time):
DOMAINNAME— base domain for Traefik routingEGRESS_IP/EGRESS_MAC— static IP and MAC for the arr-egress macvlan network
First-Run Setup¶
- Create the dataset
vm-pool/apps/services/bazarrin TrueNAS - Create a
svc-app-bazarrgroup (GID 3111) and user (UID 3111, primary groupmediaGID 3200) on the TrueNAS host - Deploy the stack and configure subtitle providers in the web UI
- Connect Bazarr to Sonarr and Radarr via their API keys (Settings → Sonarr / Radarr)
Upgrade Notes¶
No special upgrade procedures. s6-overlay and Bazarr handle migrations automatically. Image updates are managed by Renovate.