Singularity is what I named my homelab/media server. When I built it, I wanted to most cost effective solution. I was a student and didn’t have a lot of money to spend on this. The main thing I wanted was automatic downloading of my media, and play it on the tv. I have used Kodi in the past on a Raspberry Pi 2b+, so I picked up a Raspberry Pi 4. For the OS I choose
LibreELEC
and I had an old 2 TB hard drive I could use for storage. The 2B+ ended up as a
pi-hole
.
I installed the Docker addon from the LibreELEC addon repository. I wanted to use docker-compose to do the orchestration of the containers, but installing that was a major pain. LibreELEC is such a stripped down OS that it doesn’t have all the requirements. In the end running docker-compose in a container did the trick. I used the containers made by the people over at
linuxserver.io
. I had to run the containers with PUID=0 and GUID=0 because LibreELEC runs everything as root.