SelfHosting Updates - End Summer 2025
Summer is almost gone…
TL;DR:
Lately I have been tinkering with Python Web Apps and with SGGs:
So I have updated the docker-compose.yml
and Dockerfiles at:
They are also placed into the new Home-Lab repo and the stack of this post will be placed also accordingly:
Intro
If you are new with SelfHosting and HomeLab in general, just remember to get started properly:
Install some Linux (or try with a VM first / via wsl on your Windows)
Get docker installed like a PRO with such script
curl -O https://raw.githubusercontent.com/JAlcocerT/Linux/main/Z_Linux_Installations_101/Selfhosting_101.sh
nano Selfhosting_101.sh #MAKE SURE YOU UNDERSTAND WHAT YOU WILL BE RUNNING FIRST
#chmod +x Selfhosting_101.sh
#sudo ./Selfhosting_101.sh
If you want, you can get Podman instead:
sudo apt install podman
podman --version
Open Portainer
localhost:9000
and start deploying apps other people created (FAST)Get a domain and bring https when you feel confortable.
Along the way…
- Understand what chmod does: https://it-tools.tech/chmod-calculator
- Crontab to schedule tasks: https://it-tools.tech/crontab-generator
- Get in love with docker compose: https://it-tools.tech/docker-run-to-docker-compose-converter
SelfHosting Sept 25
At some point, you will need these:
#df -h
docker stop $(docker ps -a -q) #stop all
#docker volume rm $(docker volume ls -q | grep -v '^portainer_data$') #rm all volumes but portainer
#docker system df
#docker image prune -a
#docker builder prune -a --force
#docker system prune --all --volumes #just clean all...
HTTPs Everywhere
I got to know about https://github.com/FiloSottile/mkcert
A simple zero-config tool to make locally trusted development certificates with any names you’d like.
You also have tailscale, PiHole and DuckDNS.
But as of today id rather:
- Setup NGINX to get https via UI as per this guide
- Or go the Traefik v3.3 approach (programatic https) as per this other guide
Conclusions
If you ever wandered what are the most popular repos: https://gitstar-ranking.com/repositories
Remember about:
How to Bundle your Apps
Lately I…
Pi and IoT
Ive been tinkering with MicroControllers and MQTT protocol.
New Software
Ive also tried:
With CTRL+ALT+C
it gets really compact!
#pkill -9 brave #brave was not behaving properly lately...
flatpak install flathub app.zen_browser.zen
Welcome to a calmer internet | Firefox based
Zen offers a “Sync” feature, which is implemented using Mozilla Firefox’s Sync feature.
Had a look to couple of tools for diagrams
Make beautiful isometric infrastructure diagrams
It renders text to diagram and can reference files: https://gist.githubusercontent.com/raw/af76a4c245b302206b16aec503dbe07b/markmap.md
MIT | Build mindmaps with plain text
Other
Link analytics solutions, like Kutt:
FAQ
Your Music Server
Your music your rules.
sh -lc 'echo "Current user: $(whoami)"; id; echo "UID: $(id -u)"; echo "GID: $(id -g)"; echo "Groups: $(id -Gn)"'
For android, you have as client: https://gitlab.com/ultrasonic/ultrasonic
Free and open-source music streaming Android client for Subsonic API compatible servers
With Supported (tested) Subsonic API implementations
Subsonic Airsonic-Advanced Supysonic Ampache
You also have substreamer app on ios or android (as a client), they also have: https://hub.docker.com/r/ghenry22/substreamer
Just that its not OSS
See also MeTube and Navidrome:
Youtube FE
There are more alternatives, like:
Unlicensed | A clean and minimal youtube frontend, without all the ads and whistles
HomeLab Commands
- Whats taking that much space?
#sudo du -ahx / | sort -rh | head -n 50
sudo du -ahx . | sort -rh | head -n 50 #from current folder and below
- I want to clean old container stuff
docker builder prune
#docker system prune -a
docker volume prune
docker image prune -a
- Stop all containers, but portainer:
#docker ps -a -q --filter 'name=!portainer'
docker ps -q | grep -v portainer | xargs docker stop
How to Change USB Size
This has been useful few times already (from Windows):
Diskpart
List disk
select disk N
clean
create partition primary
Which Linux to get started?
Lubuntu - Because it requires just ~700mb of RAM
Ubuntu if you want the same, but with GNOME
You can have ubuntu without UI, if you plan to use your server’s terminal only
- Garuda, if you want to say I use ARCH BTW. Mind the steep learning curve.
How exactly?
Well, first try download them and run it via a VM.
Then, setup VENTOY into your USBs and bring your favourite one.