Files
jellyfin/README.md
2021-02-05 21:16:45 -05:00

35 lines
693 B
Markdown

# Jellyfin
## Install
```bash
# Set up the media pv
kubectl apply -f media.yaml
# Install jellyfin
helm upgrade --install jellyfin ./helm
```
## Setup
```bash
docker pull jellyfin/jellyfin:latest
mkdir -p /srv/jellyfin/{config,cache}
docker run -d -v /srv/jellyfin/config:/config -v /srv/jellyfin/cache:/cache -v /media:/media --net=host jellyfin/jellyfin:latest
```
## Traefik
<https://jellyfin.org/docs/general/networking/traefik2.html>
## Copy lots of files
```bash
# Copy lots of specific files
find *.m4v | xargs -I {} echo \'{}\'
find ./*.m4v | xargs -I {} --v=2 kubectl cp \'{}\' jellyfin jf-59959d4895-p8gbx:/media/
# view file size
find ./*.m4v | xargs -I {} ls -lah {}
```