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 69b519c commit 895dfc1Copy full SHA for 895dfc1
docker/grafana/docker-compose.yml
@@ -0,0 +1,26 @@
1
+services:
2
+ prometheus:
3
+ image: prom/prometheus:v2.54.1
4
+ container_name: prometheus
5
+ command:
6
+ - '--config.file=/etc/prometheus/prometheus.yml'
7
+ ports:
8
+ - 9090:9090
9
+ restart: unless-stopped
10
+ volumes:
11
+ - /docker/appdata/prometheus:/etc/prometheus
12
+ - prom_data:/prometheus
13
+ grafana:
14
+ image: grafana/grafana:11.2.2
15
+ container_name: grafana
16
17
+ - 3000:3000
18
19
+ environment:
20
+ - GF_SECURITY_ADMIN_USER=mafyuh
21
+ - GF_SECURITY_ADMIN_PASSWORD=$GF_SECURITY_ADMIN_PASSWORD
22
23
+ - /docker/appdata/grafana:/etc/grafana/provisioning/datasources
24
+
25
+volumes:
26
+ prom_data:
0 commit comments