One of the great points of AWS’s S3 is that you can get notifications about objects being uploaded/deleted/changed/etc. Turns out Minio can do that too! See https://docs.min.io/docs/minio-bucket-notification-guide.html for details. A quick test using nsq as queue manager worked. Start nsq as Docker container (on hosts t620.lan): Configure Minio: Restart the minio server. It’ll now showContinue reading “Minio S3 and Events”
Category Archives: Docker
Testing Nextcloud
I like DropBox: it’s convenient and works on all my devices (Linux, Windows, Android). Except now it only works on 3 devices. Time to look for alternatives: Nextcloud. Runs on Linux (ARM and Intel), runs in containers or Kubernetes, and has clients for anything I use. First install: on my old and unused Cubietruck: 2Continue reading “Testing Nextcloud”
My git Server
For the longest time I use my Synology NAS as my git server. Not only does it “just work”, but it has 2 disks in a RAID1 setup and I do a regular backup of it. The only problem is that it’s a bit noisy: 1 fan and 2 spinning 3.5″ disks make background noise.Continue reading “My git Server”
Docker Volume Backup
Doing a backup of volumes is simple if you know the command: influxdb is the stopped container. /var/lib/influxdb is where the (only) volume is mounted. ~/backup/ is where I’d like the compressed tar backup file.
Grafana Alerts
So far I did not have to bother about alerts. InfluxDB collects stats (via API or telegraf) and I can watch it via Grafana. Today I wanted alerts. First you have to create notification channels in Grafana: Alerting/Notification Channels. Email Since I use Gmail, this section in grafana.ini works: The only tricky part is theContinue reading “Grafana Alerts”
ELK with HTTPS
The previous blog entry lacked using https so all communication is in plain text, which makes using passwords less than ideal. This blog entry fixes this. The full source code for the docker-compose.yml and haproxy.cfg file is available here. docker-compose.yml What’s this docker-compose file doing? It starts 2 containers: the ELK container and the HAProxyContinue reading “ELK with HTTPS”