RPI5 JellyFyn
RPI5 JellyFyn
Setup
docker-compose.yml
you should see
obviously change to your username
jellyfin Pulled 16.5s
ca426296fe92 Pull complete 6.1s
098cce625d6a Pull complete 0.8s
2838bec4c4b6 Pull complete 4.7s
de3c3a7030ea Pull complete 4.0s
02b8baef4329 Pull complete 6.0s
[+] Running 1/1
Container jellyfin Started
visit your ip
- Code:
#!/bin/bash
# https://jnet.forumotion.com/t2009-rpi5-jellyfyn#3099
#
# ./run.sh
#
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
# Add Docker's official GPG key:
sudo apt-get update
sudo apt install -y ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo usermod -aG docker $USER
sudo docker run hello-world
sudo apt-get update
sudo apt install -y docker-compose-plugin
docker compose version
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
#mkdir -p jellyfin/config jellyfin/cache jellyfin/InternalStorage
#chmod -R 711 jellyfin/InternalStorage
mkdir -p jellyfin/config jellyfin/cache /mnt/FilmsandTV
sudo chmod -R 755 /mnt/FilmsandTV
# create a docker-compose.yml file with the content below
# In the below code replace “XXX” with your OS username.
#jellyfin
sudo ln -s /media/$USER/Elements/FILM_AND_TV/ /mnt/FilmsandTV
sudo chown -R $USER:$USER /home/$USER/jellyfin/config
sudo chmod -R 755 /home/$USER/jellyfin/config
sudo chown -R $USER:$USER /home/$USER/jellyfin/cache
sudo chmod -R 755 /home/$USER/jellyfin/cache
docker-compose up -d
sudo docker-compose restart
# http://localhost:8096/
docker-compose.yml
- Code:
version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: 1000:1000
network_mode: 'host'
volumes:
- /home/jay/jellyfin/config:/config
- /home/jay/jellyfin/cache:/cache
- /mnt/FilmsandTV:/media
restart: 'unless-stopped'
- Code:
sudo run.sh
you should see
obviously change to your username
jellyfin Pulled 16.5s
ca426296fe92 Pull complete 6.1s
098cce625d6a Pull complete 0.8s
2838bec4c4b6 Pull complete 4.7s
de3c3a7030ea Pull complete 4.0s
02b8baef4329 Pull complete 6.0s
[+] Running 1/1
Container jellyfin Started
visit your ip
- Code:
http://localhost:8096
Permissions in this forum:
You cannot reply to topics in this forum
|
|