Files
loki/docker-compose.yml
T
2026-10-04 16:03:39 +01:00

35 lines
1.0 KiB
YAML

version: '3.8'
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:
- traefik-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:
traefik-stack-default:
external: true
backend:
external: true