diff --git a/docs/Hardlinks/How-to-setup-for/Docker.md b/docs/Hardlinks/How-to-setup-for/Docker.md index 1d41e24bf..3523e8ae1 100644 --- a/docs/Hardlinks/How-to-setup-for/Docker.md +++ b/docs/Hardlinks/How-to-setup-for/Docker.md @@ -125,3 +125,18 @@ data ``` **Don't forget to look at the [Examples](/Hardlinks/Examples/) how to setup the paths inside your applications.** + +## Docker-compose Example + +!!! example "" + This is a docker-compose example based on a default Ubuntu install. + + The storage location used for the host is actually the same as in the container to make it easier to understand in this case `/data`. + + The appdata (`/config`) will be stored on the host in the `/docker/appdata/{appname}` + +??? example "docker-compose" + + ```yml + [[% filter indent(width=4) %]][[% include '/includes/docker/docker-compose.yml' %]][[% endfilter %]] + ``` diff --git a/docs/includes/docker/docker-compose.yml b/docs/includes/docker/docker-compose.yml new file mode 100644 index 000000000..fa012195a --- /dev/null +++ b/docs/includes/docker/docker-compose.yml @@ -0,0 +1,75 @@ +version: "3.2" +services: +# Radarr - https://hotio.dev/containers/radarr/ + radarr: + container_name: radarr + image: ghcr.io/hotio/radarr:latest + restart: unless-stopped + logging: + driver: json-file + network_mode: bridge + ports: + - 7878:7878 + environment: + - PUID=1000 # you must find out your PUID through SSH, type in terminal: id $user + - PGID=1000 # you must find out your PGID through SSH, type in terminal: id $user + - TZ=Europe/Amsterdam # Change to your timezone + volumes: + - /etc/localtime:/etc/localtime:ro + - /docker/appdata/radarr:/config # Change "/docker/appdata/radarr" with the path your config will be. + - /data:/data # Change "/data" with the path where your library + torrent/usenet downloads both are. +# Sonarr - https://hotio.dev/containers/sonarr/ + sonarr: + container_name: sonarr + image: ghcr.io/hotio/sonarr:nightly + restart: unless-stopped + logging: + driver: json-file + network_mode: bridge + ports: + - 8989:8989 + environment: + - PUID=1000 # you must find out your PUID through SSH, type in terminal: id $user + - PGID=1000 # you must find out your PGID through SSH, type in terminal: id $user + - TZ=Europe/Amsterdam # Change to your timezone + volumes: + - /etc/localtime:/etc/localtime:ro + - /docker/appdata/sonarr:/config # Change "/docker/appdata/sonarr" with the path your config will be. + - /data:/data # Change "/data" with the path where your library + torrent/usenet downloads both are. +# Bazarr - https://hotio.dev/containers/bazarr/ + bazarr: + container_name: bazarr + image: ghcr.io/hotio/bazarr:nightly + restart: unless-stopped + logging: + driver: json-file + network_mode: bridge + ports: + - 6767:6767 + environment: + - PUID=1000 # you must find out your PUID through SSH, type in terminal: id $user + - PGID=1000 # you must find out your PGID through SSH, type in terminal: id $user + - TZ=Europe/Amsterdam # Change to your timezone + volumes: + - /etc/localtime:/etc/localtime:ro + - /docker/appdata/bazarr:/config # Change "/docker/appdata/bazarr" with the path your config will be. + - /data/media:/data/media # Change "/data/media" with the path where your library are(sonarr+radarr). +# SABnzbd - https://hotio.dev/containers/sabnzbd/ +sabnzbd: + container_name: sabnzbd + image: ghcr.io/hotio/sabnzbd:latest + restart: unless-stopped + logging: + driver: json-file + network_mode: bridge + ports: + - 8080:8080 + - 9090:9090 + environment: + - PUID=1000 # you must find out your PUID through SSH, type in terminal: id $user + - PGID=1000 # you must find out your PGID through SSH, type in terminal: id $user + - TZ=Europe/Amsterdam # Change to your timezone + volumes: + - /etc/localtime:/etc/localtime:ro + - /docker/appdata/sabnzbd:/config # Change "/docker/appdata/sabnzbd" with the path your config will be. + - /data/usenet:/data/usenet:rw # Change "/data/usenet" with the path your usenet data ends up in. \ No newline at end of file diff --git a/docs/includes/x265.md b/docs/includes/x265.md new file mode 100644 index 000000000..5dd38d570 --- /dev/null +++ b/docs/includes/x265.md @@ -0,0 +1,34 @@ +## x265 + +!!! quote + x265 is good for for 4k stuff or 1080p if they used the the remuxes as source. + If the media isn't source quality/remux, then there will be a loss of quality every time. + Also, once you go x265, typically that file is done. + It can't be changed to something else without a huge loss of quality. + + Something like 95% of video files are x264 and have much better direct play support. + If you have more than a couple users, + you will notice much more transcoding. + Just depends on your priorities. + + So basically if you are storage poor and just need to save space, use x265. + The catch is if you want best quality x265, you need source quality files, so you still have huge file sizes. + If you want maximum compatibility and the option to change your files to something else later, + then x264. + It's all really dependent on specific situations for different people + +### Microsized & Wrong Source + +It's a shame that most x265 groups microsize the releases or use the x264 as source what results in low quality releases. And the few groups that do use the correct source suffer from it. + +### Golden Rule + +That's why I created my own golden rule. + +- 720/1080p => x264 +- 2160p/4k => x265 + +#### How to accomplish the Golden Rule + +- For Sonarr check [HERE](/Sonarr/Sonarr-Release-Profile-RegEx/#golden-rule){:target="_blank" rel="noopener noreferrer"} +- For Radarr check [HERE](/Radarr/Radarr-collection-of-custom-formats/#7201080p-no-x265){:target="_blank" rel="noopener noreferrer"}