loading...

Docker Based Web server on Raspberry Pi

Description

This server was originally hosted on a Raspberry Pi from my Home.  It was containerized with Docker and was working great until my ISP decided that HTTPS traffic outbound on a consumer internet plan was not allowed.  While building this inside of containers is not needed, it allowed me to include monitoring solutions such as ELK stacks and Falco.  Plus I enjoyed the challenge of using solutions normally used on large scale projects on a tiny low powered piece of hardware.

This site was created from backups of that site and content-wise was identical to this site run currently run on a 3rd party hosting service.   Oddly it actually ran faster on the Rasberry Pi than it does with the current host.

Once I settle the disagreement with my ISP I will again host the website from my home using the very simple and energy-efficient Pi4 device.   It was quite challenging to get HTTPS running inside a container, and required an unusual amount of trial and error to get it working correctly, as it appears no one else has published how to do run WordPress in Docker on a Raspberry Pi and support HTTPS.  I am in the process of a full write up as well as all of the config files to place into GitHub and produce a youtube series on how to do this.

I have provided a link to my to-do list that goes over all the steps and software that were involved with the original version of this site.

Categories: