This commit is contained in:
Alex D. 2025-02-27 16:26:03 +00:00
parent 27b76194ee
commit cc6512a01c
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
3 changed files with 51 additions and 0 deletions

View File

@ -108,6 +108,9 @@ redxen.eu/daemons/grafana/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
redxen.eu/daemons/prometheus/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \ redxen.eu/daemons/prometheus/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
%/config.yaml %/config.yaml
redxen.eu/daemons/loki/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
%/config.yaml
# Mail # Mail
redxen.eu/daemons/opendkim/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \ redxen.eu/daemons/opendkim/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
%/trusted_hosts \ %/trusted_hosts \

View File

@ -0,0 +1,11 @@
FROM alpine:latest
RUN --network=host apk add \
loki
WORKDIR /etc/redxen/loki/
ADD config.yaml config.yaml
CMD ["loki", \
"-config.file=config.yaml"]

View File

@ -0,0 +1,37 @@
auth_enabled: false
server:
http_listen_address: 0.0.0.0
http_listen_port: 7553
register_instrumentation: true
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /var/lib/loki
compactor:
working_directory: /var/lib/loki/compactor
compaction_interval: 1h
schema_config:
configs:
- from: 2024-10-07
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
storage_config:
filesystem:
directory: /var/lib/loki/chunks
limits_config:
reject_old_samples: true
reject_old_samples_max_age: 24h
max_query_series: 10000