We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cd7d0b commit be5e06cCopy full SHA for be5e06c
docker-compose.monitoring.yml
@@ -12,5 +12,22 @@ services:
12
command:
13
- '--config.file=/etc/prometheus/prometheus.yml'
14
- '--storage.tsdb.path=/prometheus'
15
- - '--web.console.libraries=/etc/prometheus/console_libraries'
16
- - '--web.console
+ - '--web.console.templates=/etc/prometheus/consoles'
+ - '--storage.tsdb.retention.time=200h'
17
+ - '--web.enable-lifecycle'
18
+
19
+ grafana:
20
+ image: grafana/grafana:latest
21
+ ports:
22
+ - "3000:3000"
23
+ environment:
24
+ - GF_SECURITY_ADMIN_PASSWORD=neural_nexus_admin
25
+ volumes:
26
+ - grafana_data:/var/lib/grafana
27
+ - ./monitoring/grafana/provisioning:/etc/grafana/provisioning
28
+ depends_on:
29
+ - prometheus
30
31
+volumes:
32
+ prometheus_data:
33
+ grafana_data:
0 commit comments