SelfHosting - 1st Half 2025

SelfHosting - 1st Half 2025

June 22, 2025

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.

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

https://www.youtube.com/watch?v=c3XMAz--_Us

P2P

You can find things to share

https://fossengineer.com/selfhosting-qBittorrent-with-docker-and-VPN/

Qbittorrent

Qbit Login

In Home Tools

  1. Reubah
  2. IT/Toos + OmniTools

Conclusions

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

But now we have filebrowser quantum!


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