SelfHosting - 1st Half 2025

SelfHosting - 1st Half 2025

June 30, 2025

People keep doing awsome stuff: this time with solar energy

But 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.

SelfHosting Resources:

Improvements

Nextcloud with Https

Getting Better at sync file tools

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

https://jalcocert.github.io/JAlcocerT/sync-file-tools/#webdavs

alt text

https://docs.nextcloud.com/server/31/user_manual/en/files/access_webdav.html

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

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

Grafana

Uptime Kuma

Internet Speed

P2P

You can find things to share

Qbittorrent

Qbit Login

In Home Tools

  1. Reubah: with background removal coming soon

SelfHosting Reubah

For more photo/video tricks, see also:

  1. IT/Toos + OmniTools

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.

http://192.168.1.11:8090/

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

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

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

SelfHosting Python Web Apps

Lately I have also been tinkering with Python Web Apps

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

https://github.com/JAlcocerT/Docker/tree/main/Dev/Python_apps

Other

Link analytics solutions, like Kutt:

alt text

alt text