Files
home-kubernetes/vms-home/docker-30/mimir/docker-compose.yaml
Jan Novak d43ffd488e observability: add k8s API/kubelet tracing, Alloy, Mimir and Loki
Wire kube-apiserver and kubelet tracing to a Jaeger collector on
docker-29, deploy Grafana Alloy in-cluster to ship logs/metrics, and
stand up Mimir + Loki on docker-30 as their backing stores.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 00:05:21 +02:00

29 lines
1.0 KiB
YAML

services:
mimir:
image: grafana/mimir:3.1.2
container_name: mimir
restart: unless-stopped
command:
- -config.file=/etc/mimir/config.yaml
- -config.expand-env=true # REQUIRED — expands ${GARAGE_*}
- -target=all # monolithic single-binary mode
ports:
- "9009:9009" # LAN IP, not 0.0.0.0 — push+query
volumes:
- ./mimir-config.yaml:/etc/mimir/config.yaml:ro
- ./mimir-data:/data # WAL / tsdb / compactor scratch
env_file: [.env] # GARAGE_ACCESS_KEY / GARAGE_SECRET_KEY
networks: [obs]
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:9009/ready || exit 1"]
interval: 15s
timeout: 5s
retries: 10
start_period: 30s
logging: # don't let Mimir's own logs balloon
driver: json-file
options: { max-size: "10m", max-file: "3" }
networks:
obs: { driver: bridge }