In this quick tutorial we will see how you can enable outgoing emails through mail gun relay host. This will be useful if you are using self hosted email with shared IP address. Because when you directly send email from your SMTP server it may be rejected by many major email service providers if you […]
Jekyll: Generate pages for each tags
As I am in the process of converting some of the WordPress based blogs to to use the static website builder Jekyll. This will allow instant response to the users without loading my self hosting servers. Also it is easier to server the blog under same domain without conditional routing of traffic between different docker […]
Create Jekyll themes from scratch
If you are a fan of static website builders, you will definitely a fan of Jekyll site builder which is also supported by Github static website hosting. Recently I am in the process of converting one of my WordPress to Jekyll to reduce the load on my home hosting servers and to improve the load […]
Automatic deployment with portainer
If you are self hosting your website and aiming for automating the deployment, this quick guide might help you. In this we are going to run the docker services inside a docker swarm cluster and will manage it using portainer. Also we use gihub webhook for automatically triggering the deployment when ever new changes are […]
Using secrets in portainer
This is a quick post on how to use docker secrets with portainer. We will use the pgadmin service as an example to demonstrate this. Login to the portainer and navigate to the secrets landing page. Then click on create secrets as shown below. After saving the secret go to the stacks and create new […]
Setting up Traefik load balancer on Docker Swarm
Recently I was upgrading my home servers from Raspberry Pi to a PC with high configuration (intel i7, 32GB RAM and 1TB SSD). On Raspberry Pi, I used a single node docker network, but with plenty of resources to spend I wanted to explore on multi node Docker Swarm setup. Nginx is a high performing […]
Nginx SSL pass through
In most of the configuration we terminate the SSL at the load balancer and use http connection from load balancer to the server when it is in internal network. But in some situation we needed SSL pass through such as if the server is handling the SSL certificates. For example, in my home network, I […]
Solving Proxmox LXC console blank issue
As I am recently upgrading my home network from simple Raspberry Pi to Proxmox based hypervisor network have got to explore many new things. This is one of the issue I couldn’t find an answer quickly so wanted to post here for anyone experiencing this. LXC containers are great way to virtualize / isolate services […]
Backup and restore postgres database with docker run
Now a days it is common to use database as a service from cloud providers instead of maintaining the local postgres installation. Also there will be times you switch between providers due to some reason such as better cost or better performance. That time you may feel the need to install postgres client to back […]