Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:bazarr [2024/04/05 07:46] – willy | services:bazarr [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Bazarr: subtitles downloader & finder ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | ===== Installation ===== | ||
- | |||
- | Bazarr could be installed manually on bare-metal, but it depends on using pip which is not really recomended on Gentoo (there are ways to do it, see [[gentoo: | ||
- | |||
- | As usual, you need to create a specific user and set it's home folder to **/ | ||
- | <code bash> | ||
- | useradd -d / | ||
- | </ | ||
- | |||
- | Create the following **/ | ||
- | <file - docker-compose.yml> | ||
- | version: " | ||
- | services: | ||
- | bazarr: | ||
- | image: ghcr.io/ | ||
- | user: 1010:1014 | ||
- | container_name: | ||
- | environment: | ||
- | - TZ=Europe/ | ||
- | volumes: | ||
- | - / | ||
- | - / | ||
- | - / | ||
- | - / | ||
- | - / | ||
- | ports: | ||
- | - 6767:6767 | ||
- | restart: unless-stopped | ||
- | networks: | ||
- | - bazarr-net | ||
- | | ||
- | networks: | ||
- | bazarr-net: {} | ||
- | </ | ||
- | |||
- | Pay attention to the **user:** line, here you need to place the //bazarr// user-id and the //media// group-id. | ||
- | |||
- | Also note how i have duplicated the Movies and Tv mount points because they must match Radarr and Sonarr location. | ||
- | |||
- | You can now become the //bazarr// user and proceed with the installation: | ||
- | <code bash> | ||
- | su - bazar | ||
- | podman compose pull | ||
- | </ | ||
- | |||
- | That's it, Bazarr is installed, but you will need to configure it before starting. | ||
- | |||
- | Edit the default **/ | ||
- | < | ||
- | ... | ||
- | base_url: /bazarr | ||
- | chmod: ' | ||
- | ip: 127.0.0.1 | ||
- | ... | ||
- | </ | ||
- | |||
- | You need to set the base_url to match the reverse proxy setting and you want to ensure new files by Bazarr are created as readable and writable by the media group (so, 0664) for them to be accessible in your media collection. You also want to bind to IP 127.0.0.1 for security reasons. | ||
- | |||
- | |||
- | ===== Reverse-Proxy configuration ===== | ||
- | |||
- | Before you proceed, you should make Bazarr accessible via the reverse-proxy, | ||
- | <file txt bazarr.conf> | ||
- | location /bazarr/ { | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | # Allow the Bazarr API through if you enable Auth on the block above | ||
- | | ||
- | | ||
- | | ||
- | } | ||
- | } | ||
- | </ | ||
- | |||
- | As usual the [[selfhost: | ||
- | |||
- | ===== Automatic Startup ===== | ||
- | |||
- | If you follow my [[gentoo: | ||
- | <code bash> | ||
- | cd / | ||
- | ln -s _servicer.sh 20-bazarr--podman.start | ||
- | ln -s _servicer.sh 20-bazarr--podman.stop | ||
- | </ | ||
- | |||
- | and you are all set. | ||
- | |||
- | ===== Usage ===== | ||
- | |||
- | Now you can head to the Bazarr URL (https:// | ||
- | |||
- | Then it's time to setup some providers: you can do so from the Providers configuration page. You will need at least one. | ||
- | |||
- | Go ahead and continue configuring anything else you might want to setup. | ||
- | |||
- | All set! Bazarr is running. | ||
- | |||