Setup RocketChat Communication Platform on Docker

In this post we will setup a self-hosted open source communication platform called rocket chat on docker, using docker compose and we will secure our traffic with https using traefik and letsencrypt. What is Rocket Chat? RocketChat is a awesome self-hosted open source chat server. If you are familliar with Slack, RocketChat is a open-source alternative. Installing Rocket Chat We will be using Traefik to do SSL termination and host based routing, if you don鈥檛 have Traefik running already, you can follow this post to get that set up:...

July 7, 2021 路 3 min 路 Ruan Bekker

Setup Bitwarden Password Manager on Docker with Traefik Proxy

Today we will setup Bitwarden and Traefik Proxy on Docker using Docker Compose. We will make use of Letsencrypt for our SSL Certificates so that our communcation from the clients and server is secure and then we will install the Bitwarden Firefox browser extension to save our passwords for our web applications on Bitwarden password manager. What is Bitwarden Bitwarden is open source password manager, similar to Last Pass and makes it super easy to generate and store unique passwords for any browser or device....

June 23, 2021 路 5 min 路 Ruan Bekker

Run Traefik version 2 on Docker

In this tutorial we will be setting up Traefik v2 as our reverse proxy with port 80 and 443 enabled, and then hook up a example application behind the application load balancer, and route incoiming requests via host headers. What is Traefik Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices super easy by making use of docker labels to route your traffic based on host headers, path prefixes etc....

June 16, 2021 路 4 min 路 Ruan Bekker

Go Web Application using Docker

In this tutorial we will be building a go based application using docker and make use of multi-stage builds so that we can optimize our storage size of our image. The source code can be found on github Go Application Our go application is a simple web application that returns the hostname. This can also be a useful application if you run it with orchestrators such as Kubernetes or Docker Swarm, when using more than 1 replicas on multiple nodes, as when the application is scaled each container will respond with different hostnames....

April 23, 2021 路 2 min 路 Ruan Bekker

Run AWS Lambda Functions on Docker

In this tutorial we will demonstrate how to run local aws lambda functions with the help of docker and running it locally on a container. Dockerfile In our Dockerfile: FROMpublic.ecr.aws/lambda/python:3.8COPY lambda_function.py ${LAMBDA_TASK_ROOT}/COPY requirements.txt /opt/requirements.txtRUN pip install -r /opt/requirements.txt -t ${LAMBDA_TASK_ROOT}/CMD [ "lambda_function.handler" ]Lambda Function Our application code, residing in our lambda_function.py: import json import requests def handler(event, context): body = { "message": "this is a message", "input": event } response = { "statusCode": 200, "body": json....

April 23, 2021 路 1 min 路 Ruan Bekker