First version
This commit is contained in:
@@ -0,0 +1,43 @@
|
|||||||
|
auth_enabled: false
|
||||||
|
|
||||||
|
server:
|
||||||
|
http_listen_port: 3100
|
||||||
|
|
||||||
|
ingester:
|
||||||
|
lifecycler:
|
||||||
|
address: 0.0.0.0
|
||||||
|
ring:
|
||||||
|
kvstore:
|
||||||
|
store: inmemory
|
||||||
|
replication_factor: 1
|
||||||
|
chunk_idle_period: 5m
|
||||||
|
max_chunk_age: 1h
|
||||||
|
|
||||||
|
schema_config:
|
||||||
|
configs:
|
||||||
|
- from: 2020-10-24
|
||||||
|
store: tsdb
|
||||||
|
object_store: filesystem
|
||||||
|
schema: v13
|
||||||
|
index:
|
||||||
|
prefix: index_
|
||||||
|
period: 24h
|
||||||
|
|
||||||
|
storage_config:
|
||||||
|
filesystem:
|
||||||
|
directory: /loki/chunks
|
||||||
|
|
||||||
|
limits_config:
|
||||||
|
ingestion_rate_mb: 10
|
||||||
|
ingestion_burst_size_mb: 20
|
||||||
|
max_streams_per_user: 0
|
||||||
|
|
||||||
|
compactor:
|
||||||
|
working_directory: /loki/compactor
|
||||||
|
shared_store: filesystem
|
||||||
|
|
||||||
|
ruler:
|
||||||
|
storage:
|
||||||
|
type: local
|
||||||
|
local:
|
||||||
|
directory: /loki/rules
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
services:
|
||||||
|
loki:
|
||||||
|
image: grafana/loki:latest
|
||||||
|
container_name: loki
|
||||||
|
command: -config.file=/etc/loki/config.yml
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/volumes/hawser_stacks/_data/loki/config/config.yml:/etc/loki/config.yml:ro
|
||||||
|
- /var/lib/docker/volumes/loki/data:/loki
|
||||||
|
ports:
|
||||||
|
- "13100:3100"
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
promtail-syslog:
|
||||||
|
image: mcjoppy/promtail-syslog:latest
|
||||||
|
container_name: promtail-syslog
|
||||||
|
environment:
|
||||||
|
- CLIENT_URL=http://loki:3100/loki/api/v1/push
|
||||||
|
ports:
|
||||||
|
- "514:514/udp"
|
||||||
|
- "514:514/tcp"
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- loki
|
||||||
Reference in New Issue
Block a user