Fixed: Formatting

Fixed: Formatting
TRaSH 2020-11-19 19:50:09 +01:00
parent 1581faf0ed
commit 30bdc1f792
1 changed files with 40 additions and 33 deletions

@ -1,12 +1,12 @@
>For now it's only possible to run Bazarr when you are able to run Docker on your Synology.
>We will try to explain the basics how to setup Bazarr on Synology with Docker.
# Installation Synology
**NOTE:**
>Depending if you're smart and decide switch everything to Docker then you're done after this guide.
>If you decide to mix packages with docker you will need to mess with [Path Mappings](/Settings#path-mappings-for-shows).
For now it's only possible to run Bazarr when you are able to run Docker on your Synology.
We will try to explain the basics how to setup Bazarr on Synology with Docker.
## NOTE
> Depending if you're smart and decide switch everything to Docker then you're done after this guide.
> If you decide to mix packages with docker you will need to mess with [Path Mappings](/Settings#path-mappings-for-shows).
### PUID and PGID
@ -16,7 +16,7 @@ For this we need to figure out the PUID and the PGID of the user having access t
You will need to SSH into your Synology.
If you didn't already enable it you need to do that first
![](images/image-20200126134857716.png)
![control-panel](images/image-20200126134857716.png)
Then use a program like Putty and SSH to your Synology.
@ -25,7 +25,7 @@ Just press `OK` or `ACCEPT`
Enter the login information of your main Synology user account.
![](images/image-20200127170839957.png)
![id](images/image-20200127170839957.png)
Once logged in type `id`.
This will show your UID (aka PUID).
@ -35,16 +35,18 @@ Remember these values for later use.
>(*yes we know it's not recommended to use the admin account but if you already know this then you wouldn't need to read this*) ;)
### Now you got 2 options to install Bazarr.
### Now you got 2 options to install Bazarr
1. [Install Bazarr with the GUI in the Synology interface (Takes longer)](#install-bazarr-with-the-gui-in-the-synology-interface-takes-longer)
2. [Install Bazarr using SSH](#install-bazarr-using-ssh)
2. [Install Bazarr using SSH](#install-bazarr-using-ssh)
------
#### Install Bazarr with the GUI in the Synology interface (Takes longer)
Install(if you didn't do that already) and open docker.
![](images/image-20200126135742435.png)
![docker-registery](images/image-20200126135742435.png)
Select `Registry` and type `bazarr` in the search bar.
We recommend to use one of the following 2 images.
@ -52,69 +54,73 @@ We recommend to use one of the following 2 images.
For this example I will use the `hotio/bazarr`.
Then you will get a popup asking which Tag you want to use.
select `latest` for the stable build.
![](images/image-20200126140136647.png)
![choose-tags](images/image-20200126140136647.png)
or select `nightly` if you want to use the dev version.
![image-20201008184855337](images/image-20201008184855337.png)
In this example I will use the dev build.
Then on the left select `Image` and wait till it's loaded you can see when it's done where the arrow is pointed and it stops building.
![image-20201008185018153](images/image-20201008185018153.png)
![docker-image](images/image-20201008185018153.png)
Then double click on the created image.
##### General Settings
![image-20201008185252513](images/image-20201008185252513.png)
#### General Settings
![create container](images/image-20201008185252513.png)
1. Give the container a friendly name (e.g. `bazarr`).
2. Enable this (not sure if it's needed but you can test that later yourself)
3. Then select `Advanced Setttings`
##### Advanced Settings
![](images/image-20200126141208906.png)
![advanced-settings](images/image-20200126141208906.png)
Select `Enable auto-restart` if you want Bazarr to autostarts.
###### Advanced Settings - Volume
![](images/image-20200126142312749.png)
##### Advanced Settings - Volume
![volume](images/image-20200126142312749.png)
Click on `Add Folder`
![](images/image-20200126143233044.png)
![add-folder](images/image-20200126143233044.png)
Create a folder named `config` and create in that folder a folder called `bazarr`.
This will be used for the database, config and log files.
![image-20201008190452024](images/image-20201008190452024.png)
![volume-result](images/image-20201008190452024.png)
Also add your `tv` and your `movies` folder locations,
In this Guide we used the preferred path setup that's why we used `/data/media`.
In this Guide we used the preferred path setup that's why we used `/data/media`.
###### Advanced Settings - Port Settings
![](images/image-20200126143706699.png)
##### Advanced Settings - Port Settings
![port-settings](images/image-20200126143706699.png)
Change the `local port` from `automatic` to the official port `6767`.
###### Advanced Settings - Environment.
![](images/image-20200126143849817.png)
##### Advanced Settings - Environment
![environment](images/image-20200126143849817.png)
Now we need to add the `PUID` and `PGID` that we wrote down earlier.
If you don't have the `PUID` and `PGID` option as variable then add it yourself.
Then click `Apply` and `Next`.
![](images/image-20200126144149241.png)
![summary](images/image-20200126144149241.png)
Recheck your setting and click on `Apply`.
![](images/image-20200126144245763.png)
![docker-container](images/image-20200126144245763.png)
Select on the left `Container` and you can see if it's running.
Now you can access the Bazarr docker container by typing in your browser
http://your_synology_ip_or_your_synology_hostname:6767
<http://your_synology_ip_or_your_synology_hostname:6767>
and then follow the [[Setup-Guide]].
------
@ -124,14 +130,16 @@ and then follow the [[Setup-Guide]].
First create a `config` folder in your `docker` folder and create a `bazarr` folder in it.
Then you ssh into your Synology and you type one of the the following depending which image you want to use.
###### Stable build:
##### Stable build
hotio/bazarr
>`sudo docker run -d --name bazarr -v /volume1/docker/config/bazarr:/config -v /volume1/data/media:/data/media -e PUID=1026 -e PGID=101 -p 6767:6767 hotio/bazarr:latest`
linuxserver/bazarr
>`sudo docker run -d --name bazarr -v /volume1/docker/config/bazarr:/config -v /volume1/data/media:/data/media -e PUID=1026 -e PGID=101 -p 6767:6767 linuxserver/bazarr:latest`
###### Development build:
##### Development build
hotio/bazarr
>`sudo docker run -d --name bazarr -v /volume1/docker/config/bazarr:/config -v /volume1/data/media:/data/media -e PUID=1026 -e PGID=101 -p 6767:6767 hotio/bazarr:nightly`
@ -146,7 +154,7 @@ linuxserver/bazarr
`-e PUID=1026` = Your PUID (*that we found earlier*).
`-e PGID=101` = Your PGID (*that we found earlier*).
`-p 6767:6767` = The ports Bazarr is going to use.
`hotio/bazarr:xxx` = Which image and build is going to be used.
`hotio/bazarr:xxx` = Which image and build is going to be used.
------
@ -161,4 +169,3 @@ For his Wiki/Guide I used the following sources being that I don't have a Synolo
[Docker Guide](https://wiki.servarr.com/Docker_Guide) (thnx to @fryfrog)
Help from some Synology users on the [Discord Server](https://discord.gg/MH2e2eb).