Retention angepasst
This commit is contained in:
Regular → Executable
+7
-1
@@ -4,12 +4,18 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 256M
|
||||
memory: 256M
|
||||
ports:
|
||||
- 9090:9090
|
||||
volumes:
|
||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
- /prometheus/:/prometheus
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
- '--storage.tsdb.path=/prometheus'
|
||||
- '--storage.tsdb.retention.time=7200d'
|
||||
- '--storage.tsdb.retention.size=0'
|
||||
|
||||
image: prom/prometheus
|
||||
restart: unless-stopped
|
||||
networks: {}
|
||||
|
||||
Reference in New Issue
Block a user