Repository navigation
Expand file tree
/
Copy pathcompose-debug.yml
More file actions
55 lines (48 loc) · 1.71 KB
/
Copy pathcompose-debug.yml
File metadata and controls
55 lines (48 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Docker-compose file to aid developers in debugging. This is not required for "normal" users. See the "Docker power users" section of the README.md for more info.
# Override any defaults specified by `${FOO:-bar}` in `.env` with `FOO=qux`.
# See .env.sample "Debug Config" section
services:
cadvisor:
image: ghcr.io/google/cadvisor:${CADVISOR_VERSION:-v0.60.6}
command: --raw_cgroup_prefix_whitelist=/docker/ --disable_metrics=hugetlb
privileged: true
volumes:
- "/:/rootfs:ro"
- "/var/run:/var/run:ro"
- "/sys:/sys:ro"
- "/var/lib/docker/:/var/lib/docker:ro"
- "/dev/disk/:/dev/disk:ro"
devices:
- "/dev/kmsg:/dev/kmsg"
restart: unless-stopped
node-exporter:
image: prom/node-exporter:${NODE_EXPORTER_VERSION:-v1.12.1}
tempo:
image: grafana/tempo:${TEMPO_VERSION:-3.1.1}
user: ":"
command: -config.file=/etc/tempo/tempo.yaml
volumes:
- ./tempo:/etc/tempo
- ./data/tempo:/opt/tempo
# Grafana reaches Tempo and Loki over the monitoring network defined in docker-compose.yml.
networks: [default, monitoring]
restart: unless-stopped
loki:
image: grafana/loki:${LOKI_VERSION:-3.7.9}
user: ":"
command: -config.file=/etc/loki/loki.yml
volumes:
- ./loki/loki.yml:/etc/loki/loki.yml
- ./data/loki:/loki
networks: [default, monitoring]
restart: unless-stopped
charon:
environment:
- CHARON_OTLP_ADDRESS=tempo:4317
- CHARON_OTLP_SERVICE_NAME=charon
- CHARON_LOKI_ADDRESSES=${CHARON_LOKI_ADDRESSES:-http://loki:3100/loki/api/v1/push}
- CHARON_LOKI_SERVICE=charon
networks:
default:
name: ${CHARON_DOCKER_NETWORK:-charon-distributed-validator-node_dvnode}
external: true