Imagine turning your Raspberry Pi into a powerhouse media server, capable of hosting movies, TV shows, and even a Minecraft server. This guide will illuminate how to transform your humble Raspberry Pi 5 into a versatile media hub using Jellyfin and Crafty Controller. Ready to dive in?
Before we dive in, here are links to the products used in this article.
– Raspberry Pi 5 16gb: https://t4g.link/raspberrypi
– 128gb MicroSD Card: https://t4g.link/128gbmsd
– Argon ONE V5 Case: https://t4g.link/argonv5
– USB C Card Reader: https://t4g.link/usbccr
🎥 Video Overview
Preparing Your Raspberry Pi
To begin, ensure your Raspberry Pi is set up and connected to the internet. Ideally, you should be using a model with sufficient RAM, such as the 8GB variant, to ensure smooth performance.
Installing Docker
Before we can proceed with Jellyfin, Docker must be installed on your Raspberry Pi. You can find a detailed installation guide in a previous article. Docker serves as a container management service required for both Jellyfin and Crafty Controller installations.
Setting the Stage with Jellyfin
Jellyfin serves as your media command center. As a free, open-source solution, it fulfills all your streaming needs, transforming your Raspberry Pi into a mini Netflix.
Step 1: Creating a Docker Compose File for Jellyfin
Initiate by creating a docker-compose.yml file to structure this whole setup.
sudo nano docker-compose.yamlHere’s an example of the Docker Compose configuration for Jellyfin.
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
# Optional - specify the uid and gid you would like Jellyfin to use instead of root
#user: uid:gid
ports:
- 8096:8096/tcp
- 7359:7359/udp
volumes:
- /applications/jellyfin/config:/config # Replace with path on your Raspberry Pi
- /applications/jellyfin/cache:/cache # Replace with path on your Raspberry Pi
- type: bind
source: /DATA/Media/Movies # Replace with path on your Raspberry Pi
target: /media
restart: 'unless-stopped'Step 2: Execute the Docker Compose file
sudo docker compose up -dThis will trigger the downloading and installation of necessary packages, kickstarting your Jellyfin media server.
Navigating Jellyfin Setup
Navigate to Jellyfin through your web browser with the IP and port configured. Log in to Jellyfin, where you can set up your media library, customize account settings, and explore streaming possibilities.
Crafting a Minecraft Server with Crafty Controller
Next, we’ll set up Crafty Controller to host a Minecraft server.
- Create a Folder for Crafty Controller:
- In your terminal, create a new folder named
crafty:
- In your terminal, create a new folder named
mkdir crafty- Create the Docker Compose File:
- Navigate to the
craftyfolder and create a new file nameddocker-compose.yaml. - Paste the following Docker Compose configuration:
- Navigate to the
services:
crafty:
container_name: crafty_controller
image: registry.gitlab.com/crafty-controller/crafty-4:latest
restart: always
environment:
- TZ=Etc/UTC # Time Zones: https://t4g.gg/linux-time-zone-list/
ports:
- "8445:8443" # HTTPS
- "8123:8123" # DYNMAP
- "19132:19132/udp" # BEDROCK
- "25500-25600:25500-25600" # MC SERV PORT RANGE
volumes:
- ./docker/backups:/crafty/backups
- ./docker/logs:/crafty/logs
- ./docker/servers:/crafty/servers
- ./docker/config:/crafty/app/config
- ./docker/import:/crafty/import- Execute the Docker Compose file
sudo docker compose up -d
- Access Crafty Controller
- Open your web browser and go to
https://<your-raspberry-pi-ip>:8445. You should see the Crafty Controller login page. The admin password is stored in thedefault_creds.txtfile in theconfigfolder. Follow the instructions to complete the setup.
- Open your web browser and go to
Connecting to the Minecraft Server
Now, you can connect to your Minecraft server using the Crafty Controller dashboard.
- Create a Minecraft Server:
- Navigate to the Crafty Controller dashboard and create a new Minecraft server.
- Configure the server settings and start the server.
- Connect to the Server:
- Open Minecraft and connect to the server using the IP address and port number of your Raspberry Pi.
Conclusion
Congratulations! You’ve now set up a fully-fledged media server on your Raspberry Pi with Jellyfin and Crafty Controller. You can watch movies and TV shows, and host a Minecraft server right from your home. Whether you’re indulging in cinematic adventures or building virtual realms, this Raspberry Pi setup has got you covered.
Visit HAVOK on Discord to connect with our community, share your Raspberry Pi stories, and explore more tech inspirations.

