bazarr
Bazarr - subtitle management.
Prepare
podman pull lscr.io/linuxserver/bazarr:latest
mkdir -p $HOME/apps/{variables,container_data}
touch $HOME/apps/variables/bazarr.env
mkdir -p $HOME/apps/container_data/bazarr
Edit environment file
Edit the environment file and paste your default values for this service:
Example contents:
Installation
# bazarr.container
[Unit]
Description=bazarr
[Container]
ContainerName=bazarr
HostName=bazarr
AutoUpdate=registry
Image=lscr.io/linuxserver/bazarr:latest
Network=skynet.network
DNS=10.0.0.250
EnvironmentFile=/$HOME/apps/variables/bazarr.env
Volume=/$HOME/apps/container_data/bazarr:/config
Volume=/mnt/poseidon/media/movies:/movies
Volume=/mnt/poseidon/media/tvshows:/tv
Volume=/mnt/poseidon/media/anime:/anime
#linuxserver.io specific
UIDMap=1025:0:1
UIDMap=0:1:1025
#UIDMap=1026:1026:524288
[Service]
Restart=always
TimeoutStartSec=300
[Install]
WantedBy=default.target
Configuration of Nginx (Reverse Proxy)
Create nginx conf.
Configuration for nginx conf for port 80.
server {
listen 80;
server_name subtitles.skynet.lan;
access_log /var/log/nginx/bazarr_access.log;
error_log /var/log/nginx/bazarr_error.log;
location / {
proxy_pass http://bazarr:6767;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Restart Nginx
Usage
Open http://subtitles.skynet.lan
Troubleshooting
Check Nginx and container logs: