Files
opt/compose.loki.yaml
2026-01-29 19:20:03 +01:00

15 lines
345 B
YAML

services:
loki:
image: grafana/loki:3.5.3
container_name: loki
restart: always
user: root
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
volumes:
- /opt/loki/local-config.yaml:/etc/loki/local-config.yaml:ro
- /opt/loki/data:/loki
extra_hosts:
- "host:${HOST_IP}"