diff --git a/images/docker-jellyfin.md b/images/docker-jellyfin.md index 76399c9a0..efdbc617f 100644 --- a/images/docker-jellyfin.md +++ b/images/docker-jellyfin.md @@ -39,10 +39,46 @@ This image provides various versions that are available via tags. `latest` tag u Here are some example snippets to help you get started creating a container from this image. -### docker +### docker-compose ([recommended](https://docs.linuxserver.io/general/docker-compose)) + +Compatible with docker-compose v2 schemas. + +```yaml +--- +version: "2.1" +services: + jellyfin: + image: linuxserver/jellyfin + container_name: jellyfin + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/London + - UMASK_SET=<022> #optional + volumes: + - /path/to/library:/config + - /path/to/tvseries:/data/tvshows + - /path/to/movies:/data/movies + - /opt/vc/lib:/opt/vc/lib #optional + ports: + - 8096:8096 + - 8920:8920 #optional + - 7359/udp:7359/udp #optional + - 1900/udp:1900/udp #optional + devices: + - /dev/dri:/dev/dri #optional + - /dev/vcsm:/dev/vcsm #optional + - /dev/vchiq:/dev/vchiq #optional + - /dev/video10:/dev/video10 #optional + - /dev/video11:/dev/video11 #optional + - /dev/video12:/dev/video12 #optional + restart: unless-stopped +``` + +### docker cli ``` -docker create \ +docker run -d \ --name=jellyfin \ -e PUID=1000 \ -e PGID=1000 \ @@ -67,44 +103,6 @@ docker create \ ``` -### docker-compose - -Compatible with docker-compose v2 schemas. - -```yaml ---- -version: "2.1" -services: - jellyfin: - image: linuxserver/jellyfin - container_name: jellyfin - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - - UMASK_SET=<022> #optional - volumes: - - /path/to/library:/config - - /path/to/tvseries:/data/tvshows - - /path/to/movies:/data/movies - volumes: - - /opt/vc/lib:/opt/vc/lib #optional - ports: - - 8096:8096 - ports: - - 8920:8920 #optional - - 7359/udp:7359/udp #optional - - 1900/udp:1900/udp #optional - devices: - - /dev/dri:/dev/dri #optional - - /dev/vcsm:/dev/vcsm #optional - - /dev/vchiq:/dev/vchiq #optional - - /dev/video10:/dev/video10 #optional - - /dev/video11:/dev/video11 #optional - - /dev/video12:/dev/video12 #optional - restart: unless-stopped -``` - ## Parameters Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `:` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container. @@ -239,9 +237,9 @@ Hardware acceleration users for Raspberry Pi V4L2 will need to mount their `/dev ## Docker Mods -[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=mods&query=%24.mods%5B%27jellyfin%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=jellyfin "view available mods for this container.") +[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=jellyfin&query=%24.mods%5B%27jellyfin%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=jellyfin "view available mods for this container.") [![Docker Universal Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=universal&query=%24.mods%5B%27universal%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=universal "view available universal mods.") -We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) can be accessed via the dynamic badge above. +We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above. ## Support Info