@ -55,6 +55,16 @@
index:
prefix: index_
period: 24h
# https://grafana.com/docs/loki/latest/operations/storage/tsdb/
- from: 2023-07-17
object_store: filesystem
schema: v12
store: tsdb
storage_config:
filesystem:
directory: /data
@ -58,6 +58,10 @@
# restart: true
name: prometheus
image: prom/prometheus:v2.43.0
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.retention.size=5GB
restart: true
user: "{{ prometheus_user.uid }}"
groups: "{{ prometheus_user.group }}"
volumes: