Saved by Layered Docker Images

Several years ago, I created a fleet of bots that pull data from one API and post to another API. Over the years, the bots have needed various interventions to get them back up and running, but I’ve shied away from upgrading underlying technologies. Thankfully, when I put these bots together, I used a system of layered Docker builds. I didn’t remember having done this, but after a quick review it became clear that this update was going to be easy....

2018-02-04 · 2 min · 247 words · Nathaniel Hoag

Debugging Drupal With Docker

This week I had occasion to help resolve a customer support case. As part of troubleshooting, I stood up a local copy of the site using Docker4Drupal. This worked out really well, and I’d like to take a moment to discuss some of the benefits. It initially took a little time to configure the site with Docker4Drupal, and to get XDebug linked up. But I’m sure that if I were doing this regularly, this would have been no more than a few minutes....

2017-12-27 · 2 min · 307 words · Nathaniel Hoag

Many and Varied Ramblings From the First Half of 2015

The last six months have been very full with the arrival of our first baby and all the prep work and new responsibilities that go with being a new parent. Here and there I’ve managed to squeeze in little hobby projects. Much to my astonishment, I also won the !!Con attendance lottery(!!), and had an amazing few days in NYC. !!Con !!Con was an extremely fun conference, and I consider myself so lucky to have won the attendance lottery....

2015-06-29 · 4 min · 802 words · Nathaniel Hoag

Hubot With a Redis Brain on Docker

I’ve written previously about deploying Hubot on Docker, deploying patched Hubot scripts, and bechmarking mass inserts with a Redis Docker container. In this post, I’ll cover how to link a Hubot Docker container to a Redis Docker container to equip Hubot with persistent memory. As an overview we’re going to: Spin up a Redis Docker container with a host directory mounted as a data volume Spin up a linked Hubot Docker container that will use Redis as a persistent brain For my most recent post on Redis mass inserts, I created a basic Redis Docker image that satisfies all of the requirements to be used as a Hubot Redis brain....

2015-01-10 · 3 min · 604 words · Nathaniel Hoag

A Dockerized and Slack-integrated Hubot

A little over a year ago, I wrote a quick blog post about deploying Hubot with Docker. A lot has changed with Hubot and Docker since that time, so I decided to revisit the build. The new implementation I whipped up consists of three main components: Yeoman-generated Hubot Base Docker image Dockerfile for configuring Hubot The Hubot ‘Getting Started’ instructions walk us through generating a deployable Hubot with Yeoman. Once generated, the code can be stashed away somewhere until we’re ready to pull it into a Docker image....

2014-12-07 · 2 min · 406 words · Nathaniel Hoag