Docker Monitoring Stack with Grafana

In this tutorial we will dive a bit deeper into the docker-monitoring-stack-gpnc repository, on how to setup a docker monitoring stack that runs grafana, prometheus, node-exporter, cadvisor and alertmanager, which includes node and container level metric dashboards. About The repo has been built to get a monitoring stack up and running within seconds and the components includes: Grafana: For visualising graphs Prometheus: Timeseries Database for Metrics cAdvisor: Exposes Container Metrics Node-Exporter: Exposes Node Metrics Alertmanager: Manages Alerts Setup First clone the repository:...

April 7, 2022 路 2 min 路 Ruan Bekker

Run OpenLDAP on Docker

In this tutorial we will setup two containers, openldap and a openldap ui to manage our users on openldap. What is OpenLDAP OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol, which makes it possible for organizations to use centralized authentication and directory access services over a network. Configuration This stack will boot a openldap and openldap-ui container container with the following docker-compose.yml: version: "3.8" services: openldap: image: osixia/openldap:1....

March 20, 2022 路 2 min 路 Ruan Bekker

Using k3d to Run Development Kubernetes Clusters

In this tutorial, I will demonstrate how to provision a local development kubernetes cluster using k3d, we will define our cluster config with yaml, then deploy a basic hostname application to our kubernetes cluster, then clean up when we are done. What is k3d k3d is a wrapper to run a kubernetes distribution called k3s on docker, which makes it really useful for local or edge environments. So docker will be a pre-requisite for this tutorial....

March 7, 2022 路 6 min 路 Ruan Bekker

Setup Drone Server and Docker Runner for Gitea

Drone, a continiuous integration platform which is super close to my heart :heart: ! In this post we will setup Drone Server and Drone Runner for Gitea to run your Continuous Integration Pipelines, then we will setup a example pipeline, discover the drone-cli and how to extend our setup with more runners. The source code of this post is available in my github repository What is Drone? Drone is a self-service continuous delivery platform which is built on container technology and can be used for CI/CD Pipelines, and has one extensive list of plugins enabling you to run almost any workflow you can think of....

November 9, 2021 路 12 min 路 Ruan Bekker

Setup a Minecraft Server on Docker

This post will show how to setup your own minecraft game server on docker using docker-compose. Requirements As we will run minecraft as a docker container, we require docker and docker-compose. You can follow the links to their website for instructions to install it. In summary it will be the following to install docker: curl https://get.docker.com | bash sudo usermod -aG docker $USER And the following to install docker-compose: sudo curl -L "https://github....

October 26, 2021 路 5 min 路 Ruan Bekker