Posted on January 10, 2022 Leave a Comment
ElectronJS allows you to more or less build a web application that can be distributed as a native application. The code is written in javascript and uses standard HTML and CSS for the presentation layer. The code is packaged with a chromium browser and distributed as an application. Can you really build powerful applications this […]
Posted on December 28, 2021 Leave a Comment
When using Traefik, or any other reverse proxy, in front of docker containers you need a proper domain to get an SSL certificate from LetsEncrypt. You also need a proper public DNS for the domain to allow LetsEncrypt to verify ownership via DNS or web requests. If you want to use this for internal systems […]
Posted on November 10, 2020 Leave a Comment
Developing serverless web applications on Firebase is great. Quick and easy for new project ideas. The most important part of a Firebase deploy is the Firetore rules since the client speaks directly with the database. Todd Kerpelman at Firebase made a couple of really great videos on unit testing the security rules which is really […]
Posted on October 20, 2020 Leave a Comment
Using Google Cloud Build to build and deploy your frontend NodeJS application is well documented in Building Node.js applications and Deploying to Firebase. How ever all these, or at least a majority of them, are based on Linux based development systems. If your on a windows machine you can run into a very specific problem […]
Posted on September 29, 2020 Leave a Comment
A proper SSL certificate on the Unifi Controller is more of a cosmetic fix then a security one. The self signed certificate is fine from a security standpoint but enjoying when accessing the controller. I run my controller in a docker container on my swarm and have Traefik for ingress and SSL. Read more about […]
Posted on September 28, 2020 2 Comments
A reverse proxy is used to distribute the traffic over a scalable application running in several containers. This is needed since you can’t publish the port for all the containers. Traefik is a docker aware reverse proxy that can route and distribute all the incoming traffic to the correct containers. We are going to solve […]
Posted on September 25, 2020 Leave a Comment
It all started with a central database for my Kodi media players. Then I migrated the setup from a dedicated Raspberry Pi to running MySQL on docker swarm. That gave me much more stability and availability for the solution but it still needed backup. The setup ended up with limiting the docker container to a […]
Posted on March 16, 2020 1 Comment
A basic docker swarm comes with two options for storage bind or volume. Both are persistent storage bot only on that node. So if the node fails and the swarm starts the task on a new node the data is lost. There are a few options to mitigate this with storage plugins for redundant storage. […]
Posted on February 27, 2020 Leave a Comment
Currently running my Unifi Controller as a docker container which works great. If you ever ended up with a broken Unifi Controller or Cloud Key you know the hassle it is to re-adopt and re-provision all your network gear to get back to square one. You should really keep track of the automatic backups from […]
Posted on February 26, 2020 1 Comment
For several applications around the house, I need a MySQL backend. The biggest database I run is about 60Mb of data for my Kodi media players. By using centralized storage like this I only need to update one of them when I add new media. Also convenient if I watch a movie in the living […]