bazarr_dev: give shared media library its own BAZARR_MEDIA var

Media is typically shared with Sonarr/Radarr/Jellyfin, so it shouldn't
be nested under VOL_PATH. Also expand the config volume note.
This commit is contained in:
code
2026-07-30 21:17:18 +00:00
parent 41f0c5fd5f
commit 8c025e9be4
3 changed files with 6 additions and 4 deletions
+4 -3
View File
@@ -31,14 +31,15 @@ Bazarr monitors your Sonarr/Radarr libraries. When new media is added or existin
| `BAZARR_RESTART` | Restart policy (default: `unless-stopped`) | | `BAZARR_RESTART` | Restart policy (default: `unless-stopped`) |
| `BAZARR_PORT` | Published port for the web UI (default: `6767`) | | `BAZARR_PORT` | Published port for the web UI (default: `6767`) |
| `VOL_PATH` | Base path for persistent data volumes (default: `/data`) | | `VOL_PATH` | Base path for persistent data volumes (default: `/data`) |
| `BAZARR_MEDIA` | Path to the shared media library (default: `/data/media`) — point this at the same library used by Sonarr, Radarr, and Jellyfin/etc. so subtitles land next to the video files |
| `TZ` | Container timezone (default: `America/Vancouver`) | | `TZ` | Container timezone (default: `America/Vancouver`) |
## Volume Notes ## Volume Notes
| Volume | Purpose | | Volume | Purpose |
|---|---| |---|---|
| `${VOL_PATH:-/data}/bazarr/config` | Application configuration and database | | `${VOL_PATH:-/data}/bazarr/config` | Application configuration and database — holds `config/config.yaml` (Sonarr/Radarr connections, provider credentials, language profiles) and the SQLite database (`config/db/bazarr.db`) tracking subtitle history and sync state. Back this up before upgrades; losing it means reconfiguring providers and Sonarr/Radarr links from scratch. |
| `${VOL_PATH:-/data}/media` | Shared media library — must include your TV and movie folders so Bazarr can write subtitles alongside video files | | `${BAZARR_MEDIA:-/data/media}` | Shared media library, kept separate from `VOL_PATH` since it's typically the same library mounted into Sonarr, Radarr, and Jellyfin/etc. — must include your TV and movie folders so Bazarr can write subtitles alongside video files |
## Network Notes ## Network Notes
@@ -59,7 +60,7 @@ docker run -d \
-e TZ=America/Vancouver \ -e TZ=America/Vancouver \
-p 6767:6767 \ -p 6767:6767 \
-v ${VOL_PATH:-/data}/bazarr/config:/config \ -v ${VOL_PATH:-/data}/bazarr/config:/config \
-v ${VOL_PATH:-/data}/media:/media \ -v ${BAZARR_MEDIA:-/data/media}:/media \
--network proxy \ --network proxy \
--restart unless-stopped \ --restart unless-stopped \
ghcr.io/hotio/bazarr:release ghcr.io/hotio/bazarr:release
+1 -1
View File
@@ -4,7 +4,7 @@ services:
restart: ${BAZARR_RESTART:-unless-stopped} restart: ${BAZARR_RESTART:-unless-stopped}
volumes: volumes:
- ${VOL_PATH:-/data}/bazarr/config:/config - ${VOL_PATH:-/data}/bazarr/config:/config
- ${VOL_PATH:-/data}/media:/media - ${BAZARR_MEDIA:-/data/media}:/media
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
+1
View File
@@ -4,3 +4,4 @@ BAZARR_IMAGE=ghcr.io/hotio/bazarr:release
TZ=America/Vancouver TZ=America/Vancouver
BAZARR_PORT=6767 BAZARR_PORT=6767
BAZARR_RESTART=unless-stopped BAZARR_RESTART=unless-stopped
BAZARR_MEDIA=/data/media