Docker
-
An Introduction to Docker and Containers for Beginners
In the world of modern software development, efficiency and consistency are key. Developers and operations teams need solutions that help them manage, deploy, and run applications seamlessly across different environments. Containers and Docker are technologies that have revolutionized how software is built, tested, and deployed. Whether you’re new to the world of tech or just looking to understand the basics of Docker, this article will guide you through the essentials. Table of Content What Are Containers? What is Docker? Why…
-
How to Implement Event-Driven Data Processing with Traefik, Kafka, and Docker
In modern system design, Event-Driven Architecture (EDA) focuses on creating, detecting, using, and responding to events within a system. Events are significant occurrences that can affect a system’s hardware or software, such as user actions, state changes, or data updates. EDA enables different parts of an application to interact in a decoupled way, allowing them to communicate through events instead of direct calls. This setup lets components work independently, respond to events asynchronously, and adjust to changing business needs without…
-
How to Self-host a Container Registry
A container registry is a storage catalog from where you can push and pull container images. There are many public and private registries available to developers such as Docker Hub, Amazon ECR, and Google Cloud Artifact Registry. But sometimes, instead of relying on an external vendor, you might want to host your images yourself. This gives you more control over how the registry is configured and where the container images are hosted. This article is a hands-on tutorial that’ll teach…
-
How to Configure Consul KV Using Docker
Introduction Consul by HashiCorp is a versatile tool that serves multiple functions in a modern DevOps environment. It’s widely used for service discovery, health checks, load balancing, and, notably, as a distributed key-value (KV) store. The KV store in Consul is perfect for storing dynamic configuration data, feature flags, secrets, and metadata in a highly available, consistent manner across your infrastructure such that it can be dynamically accessed by services in a distributed system. Using Docker to configure Consul’s KV…
-
How to Create Database Migrations in Go Using Docker and Postgres
By Okure U. Edet Go is a fast programming language with a relatively simple syntax. While learning Go, it is important to learn how to build APIs and how to use them to communicate with databases. In the process of learning, I decided to take on a project that helped me in that regard: a simple inventory tracking API. While working with an SQL database like Postgres, I learnt that it is important to make changes to the database in…
-
Webinar Series: Getting Started with Containers
This article supplements a webinar series on deploying and managing containerized workloads in the cloud. The series covers the essentials of containers, including container lifecycle management, deploying multi-container applications, scaling workloads, and understanding Kubernetes, along with highlighting best practices for running stateful applications. This tutorial includes the concepts and commands covered in the first session in the series, Getting Started with Containers. View YouTube video Introduction Docker is a platform to deploy and manage containerized applications. Containers are popular among…
-
How to Deploy Containerized Apps on AWS Using ECR and Docker
Are you looking to deploy your containerized applications on the cloud? Amazon Web Services (AWS) provides a robust and scalable platform that can help you do exactly that. In this tutorial, we’ll guide you through the process of deploying your containerized applications on AWS using Amazon Elastic Container Service (ECS), Elastic Container Registry (ECR), and Docker. Step 1: Create an AWS Account To use AWS, you need to create an AWS account first. Go to the AWS website and click…
-
How To Store Gitea Repositories on a Separate Volume
Introduction Gitea is a source code repository based on the version control system, Git. While there are several self-hosted solutions available such as GitLab and Gogs, Gitea has the benefit of being lightweight, meaning it can run on a relatively small server. However, having a small server, especially in the realm of VPSes, often means being limited on space. Thankfully, many hosting providers also offer additional storage in the form of external volumes, block storage, or networked file storage (NFS).…
-
How To Install Plausible Analytics on Ubuntu 22.04
Introduction Plausible Analytics is an open-source, self-hosted web analytics application written in Elixir that focuses on simplicity and privacy. It stores data about your website’s visitors in PostgreSQL and ClickHouse databases. In this tutorial you will install Plausible using Docker Compose, then install Nginx to act as a reverse proxy for the Plausible app. Finally, you will enable secure HTTPS connections by using Certbot to download and configure SSL certificates from the Let’s Encrypt Certificate Authority. Prerequisites In order to…