We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fced680 commit 5706697Copy full SHA for 5706697
solution/prom/docker-compose.yml
@@ -0,0 +1,29 @@
1
+version: '3'
2
+services:
3
+ prometheus:
4
+ image: prom/prometheus:latest
5
+ volumes:
6
+ - ./prometheus.yml:/etc/prometheus/prometheus.yml
7
+ ports:
8
+ - 9090:9090
9
+ command:
10
+ - '--config.file=/etc/prometheus/prometheus.yml'
11
+ - '--storage.tsdb.path=/prometheus'
12
+ networks:
13
+ - monitoring
14
+
15
+ grafana:
16
+ image: grafana/grafana
17
18
+ - 3000:3000
19
+ environment:
20
+ - GF_SECURITY_ADMIN_USER=admin
21
+ - GF_SECURITY_ADMIN_PASSWORD=admin
22
23
24
+ depends_on:
25
+ - prometheus
26
27
+networks:
28
+ monitoring:
29
+ driver: bridge
0 commit comments