-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (37 loc) · 1017 Bytes
/
docker-compose.yaml
File metadata and controls
40 lines (37 loc) · 1017 Bytes
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
services:
tempo:
network_mode: "host"
image: grafana/tempo:latest
volumes:
- "./files/tempo.yaml:/etc/tempo/tempo.yaml"
- "tempo-data:/var/tempo"
command: ["-config.file=/etc/tempo/tempo.yaml"]
ports:
- "3200:3200"
- "4317:4317"
- "4318:4318"
prometheus:
network_mode: "host"
image: prom/prometheus:v3.1.0
volumes:
- "./files/prometheus.yaml:/etc/prometheus/prometheus.yml"
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--web.enable-remote-write-receiver"
ports:
- "9090:9090"
grafana:
network_mode: "host"
image: grafana/grafana-oss
container_name: grafana
restart: unless-stopped
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
volumes:
- "./files/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml"
ports:
- '3000:3000'
volumes:
tempo-data: