* 'master' of https://github.com/tborychowski/self-hosted-cookbook:
  plex & jellyfin
This commit is contained in:
Tomasz Borychowski
2022-06-23 22:21:04 +01:00
3 changed files with 74 additions and 0 deletions

34
apps/media/jellyfin.md Normal file
View File

@@ -0,0 +1,34 @@
# Jellyfin
Audio, Video & Photo manager.<br>
- Allows you to view all the media from your local server on almost any device, anywhere.
<br>
- [Homepage](https://jellyfin.org/)
okdocker run -d -v /srv/jellyfin/config:/config -v /srv/jellyfin/cache:/cache -v /media:/media --net=host jellyfin/jellyfin:latest
## docker-compose.yml
```yml
---
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
network_mode: host
# user: uid:gid
restart: unless-stopped
# Optional - alternative address used for autodiscovery
# environment:
# - JELLYFIN_PublishedServerUrl=http://example.com
ports:
- 8096:8096
volumes:
- ./config:/config
- ./cache:/cache
- ./media:/media
```
Server should be available at: `<serverIP>:8096`

36
apps/media/plex.md Normal file
View File

@@ -0,0 +1,36 @@
# Plex
Audio, Video & Photo manager.<br>
- Allows you to view all the media from your local server on any device, anywhere.
- Allows you to add any other paid streaming service and search through them.
- Requires Plex account for authentication.
- Requires Plex subscription for some extra features.
<br>
- [Homepage](https://www.plex.tv/)
## docker-compose.yml
```yml
---
services:
plex:
image: ghcr.io/linuxserver/plex
container_name: plex
network_mode: host
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
devices:
- /dev/dri:/dev/dri
volumes:
- ./config:/config
- ./tvshows:/Shows
- ./movies:/Movies
- ./music:/Music
```
Server should be available at: `<serverIP>:32400`