Everything Containers Blog

Welcome to containers.fan tech blog, where I write about anything containers from docker, kubernetes, docker swarm, aws ecs, etc. - Feel free to reach out to me on Twitter 馃惁 @ruanbekker

Setup a Self-Hosted Git Service with Gitea

Gitea is a self-hosted git service written in Go, its super lightweight to run and supports ARM architectures as well, so you can run it on a Raspberry Pi as well. What are we doing today In this tutorial we will be setting up a self hosted version control repository with Gitea on Docker using Traefik as our Load Balancer and SSL terminations for LetsEncrypt certificates. We will then create a example git repository, add our ssh key to our account and clone our repository using ssh, change some code, commit and push to our repository....

October 22, 2021 路 7 min 路 Ruan Bekker

Setup Glitchtip Exception Monitoring on Docker with Traefik

Glitchtip is a open-source exception monitoring system, it鈥檚 similar to Sentry, which collects errors reported from your applications and helps you discover errors in real time and also helps you to understand the health of your applications. What are we doing today? In this tutorial we will setup Glitchtip on Docker using Traefik as our Load Balancer and SSL terminations for LetsEncrypt certificates, then we will create a Python Flask application and initiate a error so that we can see how these errors are collected by Glitchtip and we will also add an Webhook Server to demonstrate logging errors to a Webhook Endpoint for further development on errors....

October 4, 2021 路 12 min 路 Ruan Bekker

Setup 7 Days Game Server on Docker

This post will show how to setup your own 7 days to die game server on docker using docker compose. About The game 7 days to die is set in a post-apocalyptic world overrun by zombies, 7 Days to Die is an open-world game that is a unique combination of first person shooter, survival horror, tower defense, and role-playing games. It presents multiple features such as combat, crafting, looting, mining, exploration, and character growth....

September 4, 2021 路 12 min 路 Ruan Bekker

Setup Docker NFS Server

In this post we will see how quick and fast it is to setup a NFS Server using a Docker container using the itsthenetwork/nfs-server-alpine image. If you would like to install NFS Server using a non-docker based deployment, you can have a look at installing nfs server on ubuntu. Overview On our host we will use the local path: /data/docker-volumes to mount inside the container to /data and expose the port 2049 from the container to the host....

August 14, 2021 路 2 min 路 Ruan Bekker

Speed up Maven Docker builds with Cache

This post will demonstrate how to speed up your maven builds using docker and buildkit as long as the docker build on the same docker host. Layer Caching With docker we know that order matters in a dockerfile, as each layer is cached, and therefore to optimise a dockerfile we set the dockerfile from least changes to most changes, as this example: FROMmaven:3.6.3-openjdk-15COPY . /appRUN mvn clean packageARG JAR_FILE=/app/target/*.jarRUN mv $JAR_FILE /app/app....

July 14, 2021 路 3 min 路 Ruan Bekker