Create a CI/CI pipeline with DroneCI

Introduction A previous article described how we rolled out Gitea and DroneCI, here we are going to outline an example of how we can use the services. What we want to achieve: we copy the repository (the code) to a certain location on your host (could be a NAS), an NGINX (web service) Docker image looks at this location and finally Docker-compose will restart the website and the load the new files....

October 24, 2021 · 5 min · Ivo

Deploy DroneCI and Gitea with Docker

Introduction If you are developing a website or application, it is common today to use a Source Code Management tool such as Git. Your code will be stored there with change management. By adding DroneCI you can automate manual steps such as testing or deploying the code, once committed and pushed to the repository. You record these actions in a ‘pipeline’. By automating development steps you save a lot of time, which you can better spend on improving your product....

October 2, 2021 · 4 min · Ivo

How to setup a Grafana and Prometheus stack

Introduction What we are going to achieve with this article is to realize a monitoring solution, that monitors a number of services for you and shows this in a dashboard. What each image does in a nutshell: Grafana visualizes data and shows it beautifully in a dashboard. Prometheus is the data source where all data ends up. Node_exporter and cadvisor monitors the system and Docker engine (i.e. all Docker services) and eventually send the collected data to Prometheus. What we also added: Adguard exporter and Speedtest. Briefly what Adguard does: a service that acts as a DNS server and blocks advertisements in your LAN network. You can show this data, for example how many ads have been blocked and which clients fire the most queries. And Speedtest makes a call every x minutes to monitor your download speed, upload speed and latency from your home network. ...

August 31, 2021 · 4 min · Ivo

How to deploy a Nextcloud and Redis stack with Docker

Introduction In this article I explain how to get Nextcloud in Docker and how to get it up and running with a simple YML file. In doing so, we take speed into account. After all, you don’t want a slow application, but you want to be able to access your data quickly. We are going to do this with Redis cache, mariadb, cron and a database backup image, which will run together in its own network....

January 12, 2021 · 5 min · Ivo