Showing all posts tagged docker:

Creating My First Docker Image

I needed an excuse to learn how to create my own Docker Image, and fortunately all the stars aligned perfectly : An Itch that needed ScratchingTime and Resources to do itAn Urgency that forced me to actually see it through ! The Problem I have a RPM repository of custom packages, which has dependencies on some standard packages. To simplify installation, I want to include just the standard packages (just the ones I need) in my repository as well. In CentOS 8 however, some of the standard...

Home Automation: Setting up Node-Red under Docker on Synology NAS, with MQTT and Telegram Integration

Previously I installed some sensors around my home, and got them to update their status into an MQTT Message Broker. The Message Broker acts as a central nervous system for the apartment, making the status of sensors available to everything. Knowing status alone is not enough, we must be able to "do" things with the knowledge. We want to be able to transform the status from one form of information to another, to make decisions by combining inputs from different things, and finally, to act ...

Home Automation: Setting up Mosquitto MQTT Broker under Docker on a Synology NAS

Many moons ago I set up a sonoff basic power relay with tasmota firmware and a Mosquitto MQTT Message Broker on a raspberry pi so that I can switch my 3D printer on and off remotely. I've recently added a few more tasmota devices in my apartment for home automation, and wanted a more stable platform for my mosquitto MQTT broker. I've also been playing with Docker on my Synology NAS (installed via the Synology Package Manager), and since that has a redundant storage, a UPS, and is already ru...

NGINX and SSL On Docker on Synology NAS

Objective I want a webserver under Docker on my Synology NAS serving multiple websites (virtualhosts) that support HTTPS. Prerequisites Docker is already installed in my Synology NAS and accessible from an admin account shell.I've set up my router's public port 80 to map to port 8001 on the Synology NAS, and port 443 to map to port 8002. Port 80 on the NAS is used by the Synology's DSM interface, so my web server needs to run on a different port.The domain name for the web site has a A rec...