Files
loki/docker-compose.yml
T

33 lines
822 B
YAML

services:
loki:
image: grafana/loki:3.3.1
container_name: loki
stdin_open: true
tty: true
command: -config.file=/etc/loki/local-config.yaml
ports:
- 3100:3100
volumes:
- loki_data:/loki
- loki_config:/etc/loki
networks:
- traefk-stack-default
- backend
restart: unless-stopped
# Internal-only; external traefik exposure removed (user 2026-10-04).
promtail:
...
grafana:
...
volumes:
loki_data:
external: true
loki_config:
external: true
...
networks:
traefk-stack-default:
external: true
backend:
external: true