SelfHosting - 1st Half 2025

SelfHosting - 1st Half 2025

June 30, 2025

Lately, it was all about…Traefik to get programatic https for homelab services!

While exploring TinyAuth, I revisited the Jims Garage guide on Traefik v3.

It was also the time to set a LogTo example which is an option to bring authentication capabilities to your webapps.

TL;DR

Discovering lazydocker tool has been very interesting, together with Makefile and uv package manager.

sudo apt  install golang-go
go install github.com/jesseduffield/lazydocker@latest

# docker run --rm -it -v \
# /var/run/docker.sock:/var/run/docker.sock \
# -v /yourpath:/.config/jesseduffield/lazydocker \
# lazyteam/lazydocker

In the meantime…

People keep doing awsome stuff: this time with solar energy

I expect to write a post about solar panels soon (relating it with micro-controllers).

Improvements

Better Backup and media management is always welcome in any homelab.

Ive been improving my Nextcloud setup, together with the photo management tools.

Keeping my references for new ideas clear:

Nextcloud with Https

Getting Better at sync file tools

MIT | Portable file server with accelerated resumable uploads, dedup, WebDAV, FTP, TFTP, zeroconf, media indexer, thumbnails++ all in one file, no deps

All thanks to getting Traefik (traefik:v3.3) to work programatically!

So I just needed to get the domain DNS records accordingly:

nslookup nextcloud.jalcocertech.com
docker exec -it nextcloud /bin/bash
cd /var/www/html/config/
nano config.php

#docker exec -u www-data nextcloud php occ config:list system | grep trusted_domains -A 10
docker exec -u www-data nextcloud php /var/www/html/occ config:system:get trusted_domains #See how many you have, and put the next
docker exec -u www-data nextcloud php /var/www/html/occ config:system:set trusted_domains 2 --value="192.168.1.11"
docker exec -u www-data nextcloud php /var/www/html/occ config:system:set trusted_domains 3 --value="nextcloud.jalcocertech.com"

Going from this: https://jalcocert.github.io/JAlcocerT/selfhosted-apps-spring-2025/#nextcloud

To this

remember to use the Android or iOS app

NextCloud WebDAV Zorin UI

dav://reisikei@192.168.1.11:8080/remote.php/webdav
davs://your_nc_user@nextcloud.yourdomain.duckdns.org/remote.php/webdav
davs://your_nc_user@nextcloud.jalcocertech.com/remote.php/webdav
âš ī¸
When using WebDav the files are only on the server, not backed up on your device.

I got a transfer speed of ~15mb/s via wifi:

nload
#nload wlp3s0

You can also use the desktop app:

flatpak install flathub com.nextcloud.desktopclient.nextcloud

See the transfer speed with:

sudo apt install nload
#ip a
nload wlp3s0

Got a transfer speed of , compared to the ~60MB/s avg to ProtonDrive

You can now enable other devices or create accounts for your friends/family:

Nextcloud settings

Third Party Cloud NC Backup

Last month i tried protondrive with rclone https://github.com/JAlcocerT/Docker/tree/main/Backups#rclone

  1. ProtonDrive

  2. Google Drive

PortMaster and https

If you are using portmaster, you might need to disable DNS config -> Enforce global/private-split view

So that the nextcloud configured via Traefik and tailscale DSN will work

â„šī¸
PortMaster might give other incompatibilities with VPNs and so on (if you are using your laptop for work)

Portmaster

The DNSs

Its all about the DNS.

And I saw on this post that there is an EU alternative to cloudflare, goodle, quad9 and many other DNS: https://www.joindns4.eu/for-public#resolver-options

Lately, I evne learnt how to modify Cloudflare DNS records via its API with a Python script

Monitoring

Beszel has been an interesting tools for monitoring:

On that post I also talked about Tianji, which is something more than a Web Analytics tool.

You will need a website to monitor (and probably a headlessCMS)

  • Grafana:

Grafana UI

To Monitor LLMs and other Apps, I also collected few OSS Tools:

Internet Speed

I was writting about Server monitoring and internet speed tools here.

â„šī¸
Measure your Home Internet Speed with: WYL and OpenSpeedTest/SpeedTest Tracker
What’s the ping and internet speed?
apt-get install -y iputils-ping
sudo apt-get install speedtest-cli
speedtest-cli #speedtest-cli --simple

P2P

You can find things to share

Qbittorrent

Qbit Login

In Home Tools

  1. Reubah: Open source file converter with img background removal coming soon

SelfHosting Reubah

  1. Tools for Photo and tech for trips:

For more photo/video tricks, see also:

  1. IT/Toos + OmniTools

  2. Specters: Some kind of ~ filebrowser, but better?

MIT | A linux web interface

docker run -p 3001:3000 phantom8016/specters:latest

Specters for HomeLab File Management

  1. PortTracker: if you like PortMaster, you might be interested on this

PortTracker UI

HomeLab Diagrams

I was very surprised to find out that you can embed https://docs.excalidraw.com/docs/@excalidraw/excalidraw/integration into your websites!

A very interesting to share homelab diagrams with your friends/family.

You could also do the classic Mermaid inside a SliDev PPT: https://sli.dev/features/mermaid

To have a rendered pdf with instructions how to access your selfhosted services


Conclusions

Termix has been great to manage couple of homelab devices:

Using Specters via Termix

http://192.168.1.11:8090

You have NextTerm as an alternative: https://noted.lol/nexterm/

If you will be connecting to remote computers, remember to:

  1. Set proper expiry policy into your tailscale
  2. Have a look to RustDesk as Remote Desktop Solution
flatpak install flathub com.rustdesk.RustDesk

Filebrowser dev has been abandoned and for me it was still a thing to combine it with PiGallery2.

But now we have filebrowser quantum!

Also, ive been tinkering a lot with authentication via Logto.

If you are looking for this post edition’s config files:

SelfHosting Resources: If you want more inspiration

With gemini CLI and similar vibe coding tools, its been much easier to spin new services:

People are still doing cool stuff with the Pis


FAQ

HomeLab Commands

  1. 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
  1. I want to clean old container stuff
docker builder prune
#docker system prune -a
docker volume prune
docker image prune -a

SelfHosting Python Web Apps

Lately I have also been tinkering with Python Web Apps

So I have updated the docker-compose and Dockerfiles at:

Other

Link analytics solutions, like Kutt:

SelfHosting Kutt

Kutt Links

If you like Matrix or Signal, you might find interesting:

Bluetooth mesh chat, IRC vibes