forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
56 lines (56 loc) · 1.61 KB
/
docker-compose.yaml
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
56
prometheus:
image: prom/prometheus:v2.45.0
ports:
- "9090:9090"
extra_hosts:
- "host.docker.internal:host-gateway"
command: >
--enable-feature=remote-write-receiver
--enable-feature=exemplar-storage
--enable-feature=native-histograms
--config.file=/etc/prometheus/prometheus.yml
--storage.tsdb.path=/prometheus
volumes:
- ./docker/blocks/self-instrumentation/prometheus.yaml:/etc/prometheus/prometheus.yml
loki:
image: grafana/loki:2.8.2
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
promtail:
image: grafana/promtail:2.8.2
command: -config.file=/etc/promtail/promtail.yaml
volumes:
- ./docker/blocks/self-instrumentation/promtail.yaml:/etc/promtail/promtail.yaml
- ../data/log:/var/log/grafana
tempo:
image: grafana/tempo:2.1.1
command: -config.file=/etc/tempo.yaml
volumes:
- ./docker/blocks/self-instrumentation/tempo.yaml:/etc/tempo.yaml
ports:
- "14268:14268"
- "3200:3200"
- "4317:4317"
pyroscope:
image: "grafana/pyroscope:latest"
ports:
- "4040:4040"
extra_hosts:
- "host.docker.internal:host-gateway"
agent:
image: grafana/agent:v0.37.0
environment:
- AGENT_MODE=flow
entrypoint:
- /bin/grafana-agent
- run
- --server.http.listen-addr=0.0.0.0:12345
- /etc/agent/config.river
volumes:
- ./docker/blocks/self-instrumentation/agent.flow:/etc/agent/config.river
ports:
- "12345:12345"
- "12347:12347"
extra_hosts:
- "host.docker.internal:host-gateway"