Introduction
Around this time I started learning about open source and self-hosting. I turned my old school laptop into a Debian server with Docker and set up Pi-hole for DNS adblocking, and as the DHCP provider for my local network to cut router overhead.
Initial setup and hardware
I started out with the main apps I wanted to self-host when I first planned this project:
- Tailscale for VPN and secure server access.
- Bitwarden for my password manager.
- Nextcloud for my photo library.
- Immich for my photo albums.
- Prometheus and Grafana for monitoring.
The laptop only has 2 cores, 12gb of ram and 128gb of storage. So I added a 4tb external hdd i had laying around for the database and media storage and another external thumb drive for backup redundancy.
The evolution
Since I knew that the laptop was not powerful, I couldn’t just run anything I wanted on it. So I carefully planned what to do with it next. I couldn’t just only use it for the storage services since I had no RAID setup or any drive redundancy, so it was not the main use for it.
The services I decided to add next were:
- UniFi Controller server to manage my newly upgraded home network.
- I already had Home Assistant set up and running on a Raspberry Pi 4 before making this server, so I didn’t bother migrating. I did, however, make automated backups of the Home Assistant config and data to the server.
- Simple self-hosting of draw.io for my diagrams.
- Obsidian for note-taking for me and my sister. I used Syncthing for syncing files between devices. I am aware that NextCloud has a feature for this, but i had been wanting to try Syncthing anyways.
- Lastly, I wanted a nice dashboard to check on everything at a glance; hence: I used Glance for that. Here is a screenshot of what the dashboard looks like:
Self-hosting websites and apps
Because the homeserver is a weak laptop, I’ve decided to use my old gaming pc to host these services and just wire them to the homeserver using Nginx Proxy Manager and have a Cloudflare Tunnel there. I will talk more about this in the ‘This website’ post.