35 lines
1.0 KiB
YAML
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
|