Getting started with RacherOS using Docker-Machine Oct 10, 2016 Sadly, RancherOS is no longer available on Vagrant so dipping your toes in Rancher is a bit less easy. Or is it? The folks are Rancher are suggesting you use Docker-machine, a really nice command line tool for provisioning and managing Docker hosts! If you are used to Vagrant you already have a bit of a head start on getting to grips with Docker Machine. What’s best is that we are going to do this in the comfort of our own VirtualBox installation. ...
Mounting EFS outside of AWS Sep 08, 2016 Why EFS? Well, despite being 3x more expensive than Elastic Block Volumes, EFS is sharable between EC2 instances and it is literally Pay As You Go (PAYG), no over-provisioning in sight. So for that NAS like experience without the need to buy hardware, EFS would sound like a winning solution. Unfortunately at the time of writing this (September 2016) it is not yet possible to directly mount EFS outside of your Amazon VPC. ...
Two underrated Bash aliases Sep 07, 2016 Digital Ocean recently posted an article on must have Bash aliases. Here are two unfortunate ones that are becoming part of my requirements to use a system. alias dicker='docker' alias goit='git'
Dokuwiki Farm in a (Docker) Container Sep 06, 2016 Today I released my Dokuwiki Farm container image on Docker Hub. It is perhaps a little clunky and experimental, but it is the first image that I have published but it’s a fairly simple solution to hosting Dokuwiki. It can run in single wiki mode, or it can run as an entire wiki farm with the option of shared logins between farm animals. The base image For this we are taking the nginx:mainline-alpine image as it is very small and has the basic Nginx setup. ...
So this happened... Sep 02, 2016 I may have geeked out my car. #tuxftw!
Setting Up a Ghost Blog with nginx, Certbot and Docker. Aug 28, 2016 I thought I would write up my experiences with setting up Ghost served over HTTPS as it’s quite a good way of jumping into Docker and using nginx as a reverse proxy to route traffic between Docker applications. In this tutorial we will use the following applications: Debian (or other Linux) nginx (Web Server, Reverse Proxy and Load Balancer) Certbot (client for Let’s Encrypt certificates) Docker (containerization software) Docker-Compose (tool for defining multi-container environments, useful for single containers too! ...
Re-architecting a Global Data Object store Aug 19, 2016 In a recent project I have had the opportunity to work with MongoDB, admittedly this is the first real attempt to do so in any real capacity. For this project we created a number of Drupal websites with a centralised Data Object Store, referred to simply as the “GDO” (Global Data Object Store). The main concept of the GDO is that data objects (in the form of JSON documents) can be stored centrally and accessed by every site/server within the AWS VPC (Virtual Private Cloud). ...
Quick security tip! Docker containers and ufw. Jul 28, 2016 I recently discovered that the Docker daemon ‘out of the box’ (as it where) will run with the option --iptables=true. Why is this important? - Well, for on your own development environment perhaps it isn’t so important. You can just get on with running your containers and access them over the network as expected. If you are a bit more security conscious, perhaps because you are running on a production server, you will have firewall rules of some sort. ...
Making .deb packages using Docker Jul 27, 2016 This is a bit of an odd exercise but I recently found myself needing to compile a program and produce a .deb package. We were looking at making a shared environment for producing these packages to roll out to production environments, however what was needed was a method of just spitting out .deb packages from sourcecode from git. Approach Rather than taking up a VM on our KVM server we decided to compile and build our . ...
Migrated to Ghost Jul 19, 2016 You may or may not have noticed that my site has changed a bit. Originally I was using Drupal 8 however I have now migrated to something a bit more suitable for my needs. Let me introduce my new Ghost blog! Right, for the questions… Questions You work at a Drupal agency, why have you gone for Ghost over Drupal? I may work for a Drupal Agency but I work as a Linux SysAdmin (and AWS Guru) so I don’t get a lot of time to actually learn how to use Drupal. ...