mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2026-09-27 17:35:57 -04:00
reduced prometheus retention limit and size
This commit is contained in:
@@ -6,9 +6,12 @@ services:
|
||||
prometheus:
|
||||
image: docker.io/prom/prometheus:v3.4.2
|
||||
container_name: prometheus
|
||||
command:
|
||||
- --config.file=/etc/prometheus/prometheus.yaml
|
||||
- --storage.tsdb.retention.time=7d
|
||||
- --storage.tsdb.retention.size=2GB
|
||||
ports:
|
||||
- 9090:9090
|
||||
command: "--config.file=/etc/prometheus/prometheus.yaml"
|
||||
volumes:
|
||||
- ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
||||
- prometheus-data:/prometheus
|
||||
|
||||
Reference in New Issue
Block a user