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 […]
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 […]
My docker swarm setup
I am running my websites from my Raspberry Pi mini PC, and in this post, I am going to explain how I organize the apps and manage security using docker swarm network. In my setup I choose nginx container as webserver created on top of light weight alphine linux containers. This performs very well on […]
Which cloud hosting to use in 2022?
If you are starting a small online business like me, this advise might help you. I have done some research recently as I was migrating my web apps hosted from home on my Raspberry Pi4 to cloud hosting. I was considering three factors for choosing best hosting. Cost Performance Features Reliability As many of the […]