Posted on Leave a comment

Building a CI/CD Bot with Slack and Kubernetes ― GopherAcademy

This article is about an experiment at Africa’s Talking on using Slack to manage our deployment process. Like many companies, we use Kubernetes to manage our deployments, and Slack for internal communications. We decided to investigate how we can use Slack to improve our deployment process and structure the communications needed for a deployment. Source: Building a CI/CD Bot with Slack and Kubernetes

Read more

Posted on Leave a comment
Posted on 2 Comments

Docker Volumes: An Introduction

Docker volume

Docker volumes are very useful when we need to persist data in Docker containers or share data between containers. Docker volumes are important because when a Docker container is destroyed, it’s entire file system is destroyed too. So if we want to keep this data in some way, it is necessary that we use Docker volumes. Docker volumes are attached to containers during a docker run command by using the -v flag When Docker Volumes…

Read more

Posted on 2 Comments
Posted on Leave a comment

Understanding Docker Containers

Docker container

In a previous article, we talked about Docker images but we could only use a small section to talk about Docker containers. Now, let’s go deeper. Docker Containers A Docker container is created from a Docker image. If a Docker image is a recipe, think of the Docker container as the dish that is prepared A container image is a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run…

Read more

Posted on Leave a comment
Posted on Leave a comment

Working Effectively with Docker Images

Docker Images

Docker is a wonderful tool for many things. A few of them are; As a version control system for your entire app’s operating system by storing each configuration as a central build. To distribute/collaborate our app’s operating system with our team. To run your code on your laptop in the same environment as you have on your server. We are going to explore Docker images. Why we should use them, and how to go about…

Read more

Posted on Leave a comment
Posted on Leave a comment

Easy and powerful reverse proxy and load balancing with Docker

nginx reverse proxy

I build a lot of websites, and I run them in Docker containers. What happens is, I end up with URLs like this 0.0.0.0:1234. This is a problem because, They are difficult to remember Do not allow sub-domains. Bad for password managers My initial solution was to add a reverse proxy with Nginx so I have virtual hosts that point to my containers. However, this means I was writing the same Nginx configuration, over and over…

Read more

Posted on Leave a comment
Posted on Leave a comment

Moving a WordPress site into a Docker Container

docker-wordpress

WordPress is a very popular and flexible Content Management System (CMS). If you build websites, you are likely to have worked with (or had someone ask you to) WordPress. There are several tutorials about how to set up a new WordPress site with docker. Here is a very good one. However, no one really says how to move an existing WordPress site into a docker container. I have several servers on Digital Ocean, Linode and Vultr,…

Read more

Posted on Leave a comment