@ -0,0 +1,27 @@
kind: pipeline
type: ssh
name: default
clone:
disable: true
server:
host:
from_secret: host
user:
from_secret: user
password:
from_secret: password
steps:
- name: release
commands:
- cd /mnt/md0/infra/monitoring
- git pull
- make restart
trigger:
branch:
- master
event:
- push
@ -0,0 +1,9 @@
MAKEFLAGS += --silent
.PHONY: *
restart:
docker-compose -f docker-compose.yml down
docker-compose -f docker-compose.yml up -d
.DEFAULT_GOAL := restart
@ -1,5 +1,7 @@
### info
### monitoring
[](https://drone.fedy95.com/infra/monitoring)
### services
- [Loki/Promtail](https://github.com/grafana/loki)
- [Prometheus](https://github.com/prometheus/prometheus)
- [NodeExporter](https://github.com/prometheus/node_exporter)