File tree Expand file tree Collapse file tree 2 files changed +49
-1
lines changed
Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,47 @@ services:
3737 interval : 10s
3838 timeout : 3s
3939 retries : 5
40+ redis-exporter :
41+ image : oliver006/redis_exporter:v1.62.0
42+ container_name : sportize-redis-exporter-local
43+ restart : unless-stopped
44+ ports :
45+ - " 9121:9121"
46+ environment :
47+ REDIS_ADDR : redis://sportize-redis-local:6379
48+ REDIS_PASSWORD : password
49+ depends_on :
50+ - redis
51+ prometheus :
52+ image : prom/prometheus:v2.52.0
53+ container_name : sportize-prometheus-local
54+ restart : unless-stopped
55+ ports :
56+ - " 9090:9090"
57+ volumes :
58+ - ./prometheus.local.yml:/etc/prometheus/prometheus.yml:ro
59+ - sportize_prometheus_data_local:/prometheus
60+ depends_on :
61+ - redis-exporter
62+ grafana :
63+ image : grafana/grafana:10.4.2
64+ container_name : sportize-grafana-local
65+ restart : unless-stopped
66+ ports :
67+ - " 3000:3000"
68+ environment :
69+ GF_SECURITY_ADMIN_USER : admin
70+ GF_SECURITY_ADMIN_PASSWORD : admin
71+ GF_USERS_ALLOW_SIGN_UP : " false"
72+ TZ : Asia/Seoul
73+ volumes :
74+ - sportize_grafana_data_local:/var/lib/grafana
75+ depends_on :
76+ - prometheus
77+
78+
4079volumes :
4180 sportize_pgdata_local :
42- sportize_redisdata_local:
81+ sportize_redisdata_local :
82+ sportize_prometheus_data_local :
83+ sportize_grafana_data_local:
Original file line number Diff line number Diff line change 1+ global :
2+ scrape_interval : 5s
3+
4+ scrape_configs :
5+ - job_name : " redis-exporter"
6+ static_configs :
7+ - targets : ["redis-exporter:9121"]
You canโt perform that action at this time.
0 commit comments