-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
36 lines (35 loc) · 919 Bytes
/
docker-compose.yml
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
version: "3.9"
services:
grafana:
image: grafana/grafana:8.2.0
ports:
- 5000:3000
volumes:
- ./config/grafana.ini:/etc/grafana/grafana.ini
- ./config/grafana-datasources.yml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
depends_on:
- tempo
loki:
image: grafana/loki:2.3.0
ports:
- 3100:3100
command: -config.file=/etc/loki/local-config.yaml
tempo:
image: grafana/tempo:1.2.0
command: [ "-search.enabled=true", "-config.file=/etc/tempo.yaml" ]
volumes:
- ./config/tempo.yaml:/etc/tempo.yaml
ports:
- 8000:8000 # tempo
tracing-demo:
build: .
ports:
- "8080:8080"
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push