mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00
add 10 year retention for data in prometheus
This commit is contained in:
parent
ec33dfab48
commit
cbe6c58b0c
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
user: root
|
||||
networks_cli_compatible: yes
|
||||
network_mode: default
|
||||
command: --storage.tsdb.retention.time=10y
|
||||
networks:
|
||||
- name: newsblurnet
|
||||
state: started
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
image: prom/prometheus
|
||||
ports:
|
||||
- 9090:9090
|
||||
command: '--config.file=/etc/prometheus/prometheus.yml'
|
||||
command: '--config.file=/etc/prometheus/prometheus.yml --storage.tsdb.retention.time=10y'
|
||||
volumes:
|
||||
- ./docker/prometheus/prometheus.docker.yml:/etc/prometheus/prometheus.yml
|
||||
- ./docker/prometheus/prometheus_rules.yml:/etc/prometheus/prometheus_rules.yml
|
||||
|
|
Loading…
Add table
Reference in a new issue