Chris W Jones

Hobbiest Programmer

Dustbuster Club

I’m slightly embarrassed to run a Mastodon instance for fans of the podcasts The Greatest Generation and The Greatest Trek. They’re both podcasts reviewing all trek everywhere. To check if we’re up or down visit our status page: Dustbuster Club Status Page

November 29, 2022

Tailscale on Truenas

TrueNAS SCALE really make it hard to install Tailscale but now that I’ve figured it out, I’ll share it with everyone. ...

March 22, 2022

Limiting Firefox memory usage in Ubuntu

systemd-run --user --scope -p MemoryLimit=2G firefox Update /usr/share/applications/firefox.desktop so that each Exec line starts with that. Found here

March 2, 2021

Setting memory and CPU limits on Docker in Ubuntu

I’ve been hunting down a problem this morning that keeps causing my laptop to totally lock up. I suspected it was related to Docker because it happened every time I hit a particular endpoint on a local webserver running in Docker. When I was running Docker on a MBP, I could easily limit the total resources Docker used through a program that lived in the taskbar. I found it more challenging on Ubuntu but after some poking around, I found an question on StackOverflow by user Leltir that gave me the answer....

March 2, 2021

Personal Infrastructure Part 2

This is a continuation from Part 1 I ran all of my services in nomad for about a year. It worked pretty well but the biggest hassle was running a CSI plugin using my Free TrueNAS instance for storage for the services. I had this issue where occasionally the CSI volume would think it had more claims than allowed. After dealing with that for several months and a chat with a homelab mentor, I decided to stop using a container orchestration service and treat all of these services like pets and not cattle....

February 26, 2021

Personal Infrastructure

I run a hobbyist’s infrastructure out of my basement. I have a Raspberry Pi 3 (amy), a Raspberry Pi 2 (hermes), an old gaming rig (theprofessor), and a DigitalOcean droplet (zoidberg). Each of them has a purpose and they are each precious to me. Managing them has been a pain lately so I’ve been working on reducing the pain. For starters, I’ve moved a lot of the boring configuration management over to Ansible....

February 19, 2021

Please Excuse the Mess

I’m working on migrating this blog from Ghost to WriteFreely so that I can participate fully in the IndieWeb. I also found Ghost to be kind of a pain to deal with so hopefully WriteFreely will be easier.

July 13, 2020

Setting up a personal packagist, part 2

This post continue from part 1 of this series. In this post, we’ll create a docker container for our satis server to run in that can be used to deploy it into a Docker Swarm or Kubernetes cluster. Storing the dist archives So now that we’ve got satis building locally (or on a server somewhere), lets put it into a container and deploy it. There are a few ways that we could do this....

September 11, 2019

Setting up a personal packagist, part 1

Intro While I was reading the composer docs looking for a way to speed up our setup, I discovered Satis. It allows you to generate a private package repository. Here’s how I got it setup. I work on a Symfony project for work. One of the pain points in developing it was any time we needed to add or update a dependency. Like most PHP projects, we use Composer for managing our dependencies....

September 11, 2019

Timing docker build

The other morning, I was looking over a recent Jenkins build at work and realized that I had no idea why it took 5 minutes to build the container. When using Assetic [https://symfony.com/doc/2.8/frontend/assetic/asset_management.html] to build our assets, I can add a –profile flag and get line-by-line timings for each asset generated. I wanted that for docker build. After a little research, I discovered the answer in a StackOverflow post [https://stackoverflow.com/a/51760937/1695439]. The ts program which is part of the moreutils package accepts data from a pipe and echos a timestamp plus the original text....

September 4, 2019