Skip to content

Commit 70fcda0

Browse files
authored
Merge pull request #21 from nocentino/master
Cleaned up the docker compose manifest
2 parents e4cfa4c + 5209f4b commit 70fcda0

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed
Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3'
1+
version: '3.3'
22

33
services:
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
4441
volumes:
4542
prometheus-data:
46-
grafana-data:
47-
48-
configs:
49-
prometheus.config:
50-
file: ./prometheus/prometheus.yml
51-
43+
grafana-data:

0 commit comments

Comments
 (0)