Browse Source

restore volume for grafana

pull/8/head
fedy95 5 years ago
parent
commit
a6c6d24d16
  1. 27
      .drone.yml
  2. 9
      Makefile
  3. 4
      README.md

27
.drone.yml

@ -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

9
Makefile

@ -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

4
README.md

@ -1,5 +1,7 @@
### info
### monitoring
[![Build Status](https://drone.fedy95.com/api/badges/infra/monitoring/status.svg)](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)