Commit 7ca3144 1 parent c511b49 commit 7ca3144 Copy full SHA for 7ca3144
File tree 3 files changed +12
-0
lines changed
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ services:
53
53
- prometheus
54
54
networks :
55
55
- monitoring
56
+ volumes :
57
+ - grafana_storage:/var/lib/grafana
56
58
57
59
prometheus :
58
60
image : prom/prometheus:latest
@@ -105,6 +107,7 @@ services:
105
107
volumes :
106
108
my_database :
107
109
nginx_secrets :
110
+ grafana_storage :
108
111
109
112
networks :
110
113
api_db :
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ services:
63
63
- prometheus
64
64
networks :
65
65
- monitoring
66
+ volumes :
67
+ - grafana_storage:/var/lib/grafana
66
68
67
69
prometheus :
68
70
image : prom/prometheus:latest
@@ -107,6 +109,7 @@ services:
107
109
108
110
volumes :
109
111
db :
112
+ grafana_storage :
110
113
111
114
networks :
112
115
api_db :
Original file line number Diff line number Diff line change @@ -23,4 +23,10 @@ server {
23
23
resolver 127.0.0.11;
24
24
}
25
25
26
+ # location ~ ^/prometheus(.*)$ {
27
+ # proxy_pass http://prometheus:9090$1;
28
+ # proxy_redirect / /prometheus/;
29
+ # resolver 127.0.0.11;
30
+ # }
31
+
26
32
}
You can’t perform that action at this time.
0 commit comments