added registrybrowser (functional) and cadvisor (unfunctional without influxDB working)
This commit is contained in:
@@ -18,7 +18,6 @@ volumes:
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/swarm/stacks/grafana/grafana_config
|
||||
|
||||
|
||||
prometheus_data:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
@@ -31,12 +30,45 @@ volumes:
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/swarm/stacks/grafana/grafana_data
|
||||
|
||||
loki_data:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/swarm/stacks/grafana/loki_data
|
||||
|
||||
influxdb_data:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/swarm/stacks/grafana/influxdb_data
|
||||
|
||||
|
||||
services:
|
||||
# redis:
|
||||
#
|
||||
|
||||
loki:
|
||||
image: grafana/loki:2.6.1
|
||||
user: "0:0"
|
||||
volumes:
|
||||
- loki_data:/loki
|
||||
ports:
|
||||
- "3100:3100"
|
||||
command: -config.file=/etc/loki/local-config.yaml
|
||||
|
||||
promtail:
|
||||
image: grafana/promtail:2.6.1
|
||||
user: "0:0"
|
||||
volumes:
|
||||
- /var/log:/var/log
|
||||
command: -config.file=/etc/promtail/config.yml
|
||||
|
||||
influx:
|
||||
user: "0:0"
|
||||
image: influxdb
|
||||
volumes:
|
||||
- influxdb_data:/var/lib/influxdb
|
||||
|
||||
alertmanager:
|
||||
user: "0:0"
|
||||
hostname: alertmanager
|
||||
@@ -71,6 +103,8 @@ services:
|
||||
user: "0:0"
|
||||
hostname: grafana
|
||||
image: grafana/grafana
|
||||
depends_on:
|
||||
- influx
|
||||
environment:
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user