File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 1- version : ' 3'
1+ version : ' 3.3 '
22
33services :
44 pure-fa-om-exporter :
@@ -10,7 +10,7 @@ services:
1010 - prometheus
1111 ports :
1212 - 9490:9490
13-
13+ restart : on-failure
1414 prometheus :
1515 image : prom/prometheus
1616 command :
@@ -19,13 +19,10 @@ services:
1919 - ' --config.file=/etc/prometheus/prometheus.yml'
2020 volumes :
2121 - prometheus-data:/prometheus
22- configs :
23- - source : prometheus.config
24- target : /etc/prometheus/prometheus.yml
25- mode : 0420
22+ - ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
2623 ports :
2724 - 9090:9090
28-
25+ restart : on-failure
2926 grafana :
3027 image : grafana/grafana
3128 environment :
@@ -40,12 +37,7 @@ services:
4037 - grafana-data:/var/lib/grafana
4138 - ./grafana/datasources:/etc/grafana/provisioning/datasources
4239 - ./grafana/dashboards:/etc/grafana/provisioning/dashboards
43-
40+ restart : on-failure
4441volumes :
4542 prometheus-data :
46- grafana-data :
47-
48- configs :
49- prometheus.config :
50- file : ./prometheus/prometheus.yml
51-
43+ grafana-data:
You can’t perform that action at this time.
0 commit comments