-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-monitoring.yml
59 lines (55 loc) · 1.39 KB
/
docker-compose-monitoring.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
services:
grafana: # 그라파나 서비스 추가
image: grafana/grafana
ports:
- "3000:3000"
volumes:
- ./devops/monitoring/grafana/grafana.ini:/etc/grafana/grafana.ini:ro
- ./devops/monitoring/grafana/grafana-data:/var/lib/grafana
user: root
depends_on:
- prometheus
prometheus: # 프로메테우스 서비스 추가
image: prom/prometheus
ports:
- "9090:9090"
volumes:
- ./devops/monitoring/prometheus:/etc/prometheus
command:
- "--config.file=/etc/prometheus/prometheus.yml"
# cadvisor:
# image: gcr.io/cadvisor/cadvisor:v0.47.0
# container_name: cadvisor
# privileged: true
# ports:
# - "9000:8082"
# volumes:
# - /:/rootfs:ro
# - /var/run:/var/run:rw
# - /sys:/sys:ro
# - /var/lib/docker/:/var/lib/docker:ro
# - /proc/cpuinfo:/host/proc/cpuinfo:ro
# - /dev/disk:/dev/disk/:ro
# devices:
# - /dev/kmsg:/dev/kmsg
# influxdb:
# image: influxdb:1.8
# ports:
# - "8086:8086"
# environment:
# - INFLUXDB_DB=k6
#
# k6:
# image: grafana/k6:latest
# platform: linux/amd64
# ports:
# - "6565:6565"
# environment:
# - K6_OUT=influxdb=http://influxdb:8086/k6
# volumes:
# - ./backend/monitoring/k6:/scripts
# command: run /scripts/load.js
# node-exporter:
# image: prom/node-exporter:latest
# ports:
# - "9100:9100"