71 lines
1.5 KiB
YAML
71 lines
1.5 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
grafana:
|
|
image: grafana/grafana:7.0.0
|
|
restart: always
|
|
ports:
|
|
- 3000:3000
|
|
volumes:
|
|
- ./data-graphana:/var/lib/grafana
|
|
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
restart: always
|
|
ports:
|
|
- 9090:9090
|
|
command:
|
|
- --config.file=/etc/prometheus/prometheus.yml
|
|
volumes:
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
|
- ./data-prometheus:/prometheus
|
|
depends_on:
|
|
- cadvisor
|
|
|
|
cadvisor:
|
|
image: gcr.io/google-containers/cadvisor:latest
|
|
restart: always
|
|
ports:
|
|
- 8090:8080
|
|
volumes:
|
|
- /:/rootfs:ro
|
|
- /var/run:/var/run:rw
|
|
- /sys:/sys:ro
|
|
- /var/lib/docker/:/var/lib/docker:ro
|
|
|
|
nextcloud-exporter:
|
|
image: xperimental/nextcloud-exporter:v0.2.0
|
|
restart: always
|
|
ports:
|
|
- 9205:9205
|
|
environment:
|
|
# - NEXTCLOUD_LISTEN_ADDRESS=":9205"
|
|
- NEXTCLOUD_SERVERINFO_URL=http://moma:8080
|
|
- NEXTCLOUD_USERNAME=stefan
|
|
- NEXTCLOUD_PASSWORD=iwidTs33
|
|
|
|
node-exporter:
|
|
image: prom/node-exporter:v1.0.0
|
|
ports:
|
|
- 9100:9100
|
|
|
|
# influxdb:
|
|
# image: influxdb:1.8.0
|
|
# restart: always
|
|
# ports:
|
|
# - 8086:8086
|
|
# volumes:
|
|
# - ./data-influx:/var/lib/influxdb
|
|
# environment:
|
|
# - INFLUXDB_DB=fritzbox
|
|
# - INFLUXDB_WRITE_USER=stefan
|
|
# - INFLUXDB_WRITE_USER_PASSWORD=iwidTs33
|
|
#
|
|
# fritzcollectd:
|
|
# image: gizmoh/fritzcollectd
|
|
# restart: always
|
|
# ports:
|
|
# - 25826:25826
|
|
# volumes:
|
|
# - ./fritzcollectd.conf:/etc/collectd/collectd.conf.d/fritz.conf:ro
|