Categories
Technology

Bootstrapping Docker Swarm Part 6: Setting up a Firewall

This is part of a multi-part series on getting Docker Swarm up and running. You might want to start with the original post called Bootstrapping Docker Swarm. Probably the most confusing part of setting up Docker Swarm, for me, was setting up the firewall. There are lots of guides out there that I did not […]

Categories
Technology

Bootstrapping Docker Swarm Part 5: Enabling the Registry

This is part of a multi-part series on getting Docker Swarm up and running. You might want to start with the original post called Bootstrapping Docker Swarm. Deploying the Registry Now that we have a front door to our cluster we want to set up a registry so that we can keep our containers in […]

Categories
Technology

Bootstrapping Docker Swarm Part 4: Configuring the Load Balancers

This is part of a multi-part series on getting Docker Swarm up and running. You might want to start with the original post called Bootstrapping Docker Swarm. There are three containers involved in the load balancers: keepalived, haproxy_frontend and haproxy_backend. The first one will again be a standalone Docker container but the other two will […]

Categories
Technology

Bootstrapping Docker Swarm Part 3: Getting SSL Certificates

This is part of a multi-part series on getting Docker Swarm up and running. You might want to start with the original post called Bootstrapping Docker Swarm. There are two containers involved in creating SSL certificates: acme-dns and certbot. The acme-dns container will let us get wildcard certificates from Let’s Encrypt without having to use […]

Categories
Technology

Bootstrapping Docker Swarm Part 2: Setting Up Syslog

This is part of a multi-part series on getting Docker Swarm up and running. You might want to start with the original post called Bootstrapping Docker Swarm. Configuring Logging The first container that we’re going to set up will run syslog-ng. We’re going to run this on the infra host as a regular, non-Docker Swarm […]

Categories
Technology

Bootstrapping Docker Swarm Part 1: Installing Docker and Enabling Docker Swarm

This is part of a multi-part series on getting Docker Swarm up and running. You might want to start with the original post called Bootstrapping Docker Swarm. Installing Docker I did my work on Debian 10 “Buster” but for the most part what I’m describing will work on any operating system. That said, this part […]

Categories
Technology

Bootstrapping Docker Swarm

I’m a solo developer on my current team and my responsibilities range from installing operating systems to configuring and optimizing databases to loading data in to those databases and writing programs to manipulate and query the data once it is there. Suffice it to say that I have to do it all. So when I […]

Categories
Technology

Time Machine to an Encrypted Sparse Bundle

I wrote before about my odd set up for backups. I bought a new computer recently and wanted to create those odd backups again and I discovered that setting up encrypted sparse bundles was harder than I remembered! So I documented it this time for other people. First, use Disk Utility to create an encrypted […]

Categories
Technology

Creating SSL Certificates

A million people have written about this and now it’s my turn. I have a need to create myself a certificate authority and then to use that certificate authority so that my programs can communicate with each other using those certificates to identify themselves. Here are the commands that I ran with absolutely no explanation […]

Categories
Technology

Flask Connection Pool for PostgreSQL

There are a lot of technology words in that title so I’m going to explain exactly what this is. This is a connection pool for Python applications that make use of the Flask web framework and connect to PostgreSQL databases. Why am I sharing this? In my experience there are a dearth of connection pool […]