Added Jellyfin and improved documentation

This commit is contained in:
Luctia
2022-07-03 16:56:44 +02:00
parent efd501eae0
commit 491d5f70ef
3 changed files with 36 additions and 13 deletions

View File

@@ -1,3 +1,8 @@
# If you're not sure what timezone you should fill in, you can look at the following list:
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# Use the column that says "TZ database name".
TIMEZONE=Europe/Amsterdam TIMEZONE=Europe/Amsterdam
# The PleX claim token is used to connect your server to your account. It can be obtained at
# https://www.plex.tv/claim/ and is valid for 4 minutes after generating the token.
PLEX_CLAIM= PLEX_CLAIM=
ROOT_DIR=/ ROOT_DIR=/

View File

@@ -1,21 +1,26 @@
# EZARR # EZARR
Ezarr is a project built to make it EZ to deploy a Servarr mediacenter, featuring: Ezarr is a project built to make it EZ to deploy a Servarr mediacenter on an Ubuntu server. It
- Sonarr features:
- Radarr - [Sonarr](https://sonarr.tv/)
- Lidarr - [Radarr](https://radarr.video/)
- Prowlarr - [Lidarr](https://lidarr.audio/)
- qBittorrent - [Prowlarr](https://wiki.servarr.com/prowlarr)
- PleX - [qBittorrent](https://www.qbittorrent.org/)
- [PleX](https://www.plex.tv/)
- [Jellyfin](https://jellyfin.org/)
## Using ## Using
1. To get started, clone the repository in a directory of your choosing. **Note: this will be where 1. To get started, clone the repository in a directory of your choosing. **Note: this will be where
your installation and media will be as well, so think about this a bit.** your installation and media will be as well, so think about this a bit.**
2. Copy `.env.sample` to a real `.env`: `$ cp .env.sample .env`. 2. Copy `.env.sample` to a real `.env` by running `$ cp .env.sample .env`.
3. Set the environment variables to your liking. Note that `ROOT_DIR` should be the directory you 3. Set the environment variables to your liking. Note that `ROOT_DIR` should be the directory you
have cloned this in. have cloned this in.
4. Run `setup.sh` as superuser. This will set up your users, a system of directories, ensure 4. Run `setup.sh` as superuser. This will set up your users, a system of directories, ensure
permissions are set correctly and sets some more environment variables for docker compose. permissions are set correctly and sets some more environment variables for docker compose.
5. Run `docker compose up` 5. Take a look at the `docker-compose.yml` file. If there are services you would like to ignore
(for example, running PleX and Jellyfin at the same time is a bit unusual), you can comment them
out by placing `#` in front of the lines. This ensures they are ignored by Docker compose.
6. Run `docker compose up`.
That's it! Your containers are now up and you can continue to set up the settings in them. Take That's it! Your containers are now up and you can continue to set up the settings in them. Take
note of the following: note of the following:

View File

@@ -7,14 +7,27 @@ services:
network_mode: host network_mode: host
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=${MEDIACENTER_GID}
- VERSION=docker - VERSION=docker
- PLEX_CLAIM=${PLEX_CLAIM} - PLEX_CLAIM=${PLEX_CLAIM}
volumes: volumes:
- ${ROOT_DIR}/docker/plex-config:/config - ${ROOT_DIR}/docker/plex-config:/config
- ${ROOT_DIR}/data/media/tv:/tv - ${ROOT_DIR}/data/media:/media
- ${ROOT_DIR}/data/media/movies:/movies restart: unless-stopped
- ${ROOT_DIR}/data/media/music:/music
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=${MEDIACENTER_GID}
- UMASK=002
- TZ=Europe/Amsterdam
volumes:
- ${ROOT_DIR}/docker/jellyfin-config:/config
- ${ROOT_DIR}/data/media:/data
ports:
- 8096:8096
restart: unless-stopped restart: unless-stopped
# #