Self Hosting

Updating GitLab project dates
2021-07-08 4 minutes #self-hosting #programming

As a developer I do basically everything in git and for fun I run my own git server on my home server. I’ve swapped around quite a lot between GitLab and Gitea, but finally settled on GitLab. It’s a bit heavy, but the deep CI integration is really nice.…

Backup Strategy 2021
2021-06-06 10 minutes #self-hosting #server-2021

Backups are critical to any systems longevity and reliability. If you’re not backing up your data, stop reading this now, go do it, then come back… Assuming none of you suddenly panicked and left, let’s keep going. You can keep telling yourself otherwise, but eventually, every system will experience some kind of failure.…

Website deployment process
2021-05-25 4 minutes #self hosting #programming

My website is a very important project to me. I’ve written a lot of content over the years, useful both to me and other internet folks. Currently, my website is a static site, powered by Hugo. Because it’s static, the content is served insanely quickly and handles any insane load spikes like a champ (not that any have happened).…

Server build 2020 - Proxmox setup
2021-05-03 15 minutes #server-2020 #self hosting #linux

Back in December, I fully rebuilt my home server from the ground up based on Proxmox. Being a hypervisor OS, it makes sense to run everything in VMs or LXC containers, not on the host. Therefore, there’s a huge amount of scope for opinions, lessons and customizations.…

Securing public servers
2021-02-11 12 minutes #security #self-hosting

At some point, servers need to be put on the public internet. Whether that be a VPS in the cloud, or your new homelab. Once a server is on the internet, it’s subject to anything and everything the internet has to offer, from botnets to hackers and script kiddies.…

Plausible & Gitea
2021-01-19 3 minutes #self-hosting

Yesterday, I moved my Git server from GitLab to Gitea. There’s nothing wrong with GitLab, I actually quite like it, but it’s a rather large tool for my needs. Gitea is much more lightweight, faster, and provides all its features for free.…

State of the Apps 2021
2021-01-01 10 minutes #linux #programming #self-hosting

It’s that time of the year again: time to look back at how I work, the tools I use, and how the next year might look. I’ve been working from home basically full time since the UK went into lockdown 17th March.…

Nvidia GPU passthrough in LXC
2020-12-23 8 minutes #self-hosting #linux #server-2020 #containers

GPU Passthrough has become a great way to run a Linux host, but still run games under Windows. By having 2 GPUs, 1 for the Linux host and the other for a Windows VM, you give Windows its own full GPU for games, but without having to run Windows as your primary OS.…

Mount NFS inside LXC containers
2020-12-14 4 minutes #server-2020 #self-hosting #linux #containers

NFS is a great protocol for sharing files quickly and simply over the network. Whilst it’s not designed for end user use, it’s great for mounting directories from remote machines, and having them be performant. NFS' lack of authentication is in a way a feature, honest.…

Backing up and restoring containers
2020-12-06 5 minutes #containers #linux #self-hosting

You should back up your data, properly! If you’re not, you’re playing a dangerous game with fate. Computers are pretty reliable, but they also go wrong, often. You should always backup your files, but backing up a containerized application isn’t quite as simple.…

Server build 2020 - Parts
2020-12-01 7 minutes #server-2020 #self hosting #linux

Black Friday, the only day which seems to last over a month, is a great time to buy tech. Whilst most people will be buying early christmas presents, new gadgets for themselves, or just impulse buying stuff they don’t need (something I totally never do…), I ordered the parts for my new server.…

Flashing MagicHome with ESPHome
2020-11-07 5 minutes #self-hosting #electronics

I recently added some RGB LED strips around my headboard and bed frame, because everyone needs more RGB in their life. The only thing better than RGB is internet connected RGB. One of the most common controllers for this is the MagicHome.…

Increase your Docker IP space
2020-10-30 #containers #self-hosting #linux

Recently, I started setting up a new application on my docker host. It was late in the day, and I just wanted to get something up and working to play around with. Just my luck, I was met with wonderfully cryptic error:…

LAN-only applications with TLS
2020-10-19 5 minutes #self-hosting

The internet is a wild place, filled with well, everything. There are many ways of exposing an application to the internet, but no matter how secure an application claims to be, or how confident you are with your infrastructure, sometimes you may just be more comfortable keeping it internal.…

Using Scrutiny to monitor your drives
2020-09-24 3 minutes #self-hosting #linux #containers

After recently deploying a ZFS pool, I realized I had little insight into the health of my drives. I can run SMART stats now and then, but that’s not quite the same. # Scrutiny Scrutiny is a tool to help you with just that.…

Observing Traefik with InfluxDB
2020-09-10 3 minutes #containers #self-hosting #traefik

Traefik’s dashboard is a great tool to diagnose routing issues, and check services are being detected correctly, but it can’t do much more than that. It doesn’t show any metrics. Instead, it relies (arguably correctly) on external monitoring tools for metrics.…

Calming down Clickhouse
2020-09-02 4 minutes #containers #self-hosting

Clickhouse is a column oriented database engine, mostly designed for analytics. It was developed and deployed by Yandex in their analytics offering, but Plausible, my analytics provider of choice, uses it to store the analytics data, as it’s more suited to this than PostgreSQL.…

Installing Arch from scratch on Kimsufi
2020-08-29 5 minutes #arch #linux #self-hosting

Recently, I bought myself a new server from Kimsufi, to function as an off-site backup server. And after fighting with both their management interface and customer services, I finally got it booted. Kimsufi have a respectable list of OS options, however not especially recent.…

Container processes shouldn't run as root!
2020-08-18 4 minutes #self-hosting #security #containers

Docker containers, and containers as a whole, are really just a regular program wrapped in some extra protections provided by the kernel (namely cgroups etc) to create isolation, and other interesting features. Unlike VMs, containers run closer to the host operating system, so close they use the same kernel, meaning it’s even more important to protect it.…

HomeAssistant Temperature & Humidity Sensor with ESPHome
2020-08-12 5 minutes #self-hosting #electronics

The majority of England (where I live) is being hit by quite a heatwave. It’s hot here, like really hot! Temperature recordings from my bedroom this past few days Us brits are incapable of handling the heat, and enjoy nothing more than telling each other how hot and unbearable it is.…

Self hosting Plausible
2020-08-05 5 minutes #self-hosting #containers

I only recently talked about using GoAccess as an analytics tool. Over the last couple months, I’ve been more interested in how many hits this website actually gets. GoAccess was a really simple solution which worked on log files and only captured the bits of information I really cared about: Page views.…

Keeping your Docker containers up to date
2020-07-27 5 minutes #self-hosting #containers

Last year, I switched all of my hosting from arbitrarily installed packages to Docker. This made installing and configuring incredibly simple, but updating a little less defined. Whilst Docker itself is updated through the system package manager (probably), the containers themselves aren’t.…

Remote to remote backups with Duplicati
2020-05-22 3 minutes #self-hosting

Duplicati is one of my favourite backup system. It’s pretty fast, supports numerous backup sources, and has a nice configuration web UI. Unfortunately however, it can’t be used to back up remote files. In fact, I can’t find a nice fully-features backup solution which does do this, which sucks.…

Traefik Basics
2020-05-01 6 minutes #self-hosting #containers #traefik

Traefik is a cloud native reverse proxy, which is basically a fancy way of saying it’s a reverse proxy with some fancy features. Specifically it has fancy features around auto-discovery, and deep integration with technologies like Docker and Kubernetes. # Basic concepts Traefik has four fundamental concepts: Entrypoints, routers, middleware and services.…

Exposing your Homelab
2020-04-29 8 minutes #self-hosting

In the current lockdown situation, a lot of people are starting to eye up that old desktop machine, or Raspberry Pi they bought for a project and just left on a shelf, and thinking of putting it to use, as a server!…

Self hosting my website
2020-04-11 3 minutes #self-hosting #containers

A few days ago, I was sharing a blog post to someone on the self-hosted podcast discord, and they asked if I was self hosting my website. Unfortunately, and rather ironically, I had to answer no. I’ve been intending to move it over to my own server for a while, so this felt like as good of a push as any!…

Privacy-respecting analytics with GoAccess
2020-04-10 #self-hosting #containers

Recently, I decided to put some analytics on my website. Would be nice to see what view number are like and what pages get the most traffic. Most people would just stick Google Analytics on and be done with. But the privacy implications off that are huge and terrible, not to mention any self-respecting privacy extension would block it almost immediately.…

WireGuard HAProxy Gateway
2020-03-21 5 minutes #self-hosting #security

Last year, I wrote a post on setting up a gateway to a private network, powered by OpenVPN-AS. I ran this network setup for quite a while with a lot of success, exposing services on my home network to the public internet, securely.…

Why WireGuard
2020-03-06 4 minutes #self-hosting #security

# What is WireGuard? The website defines it as “… extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.”. Which basically means it’s a VPN, but sane. The point of a VPN is to allow two machines to talk to eachother, no matter how the network inbetween is set up.…

Creating a fast, secure WordPress site
2018-10-08 6 minutes #security #self-hosting

In terms of security, WordPress, and PHP in general for that matter, have become a bit of a joke. If you want a site to be secure, people tend to steer clear of WordPress and PHP. That being said, nothing stands even close to WordPress in plugin support, community size, and documentation.…

VPN Gateway - Opening ports the safe way
2018-06-21 6 minutes #self-hosting #security

VPNs are a way of accessing application which sit on a separate network using an encrypted tunnel. Contrary to popular belief, they are not designed to anonymize your internet habits. Whilst VPNs are designed to enable a client to access the servers network, it’s possible to use them to provide a server to access to its client’s network.…

Buy Me A Coffee