This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
67 lines (64 loc) · 1.76 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
57
58
59
60
61
62
63
64
65
66
67
services:
sandwitch:
build: .
command:
- '--otlp-endpoint'
- 'http://tempo:4317'
- '-vvvvv' # info log level
stop_signal: SIGINT
stop_grace_period: '30s'
volumes:
- './sandwitch.toml:/etc/sandwitch/sandwitch.toml:ro'
depends_on:
- tempo
healthcheck:
disable: true # metrics are collected by prometheus
# otel-collector:
# image: 'otel/opentelemetry-collector:latest'
# command:
# - '--config'
# - '/etc/otel-collector.yaml'
# - '--set'
# - 'exporters.otlp.endpoint=tempo:4317'
# volumes:
# - './otel-collector.yaml:/etc/otel-collector.yaml:ro'
# depends_on:
# - tempo
tempo:
image: 'grafana/tempo:latest'
command:
- '-config.file=/etc/tempo.yaml'
- '-server.http-listen-port=3200'
- '-log.level'
- 'warn'
volumes:
- './tempo.yaml:/etc/tempo.yaml:ro'
- '/var/lib/tempo'
ports:
- '3200/tcp' # tempo
- '4317/tcp' # otlp grpc
grafana:
image: 'grafana/grafana-oss:9.5.0'
environment:
TEMPO_ADDR: 'tempo:3200'
volumes:
- './grafana/grafana.ini:/etc/grafana/grafana.ini:ro'
- './grafana/datasources/:/etc/grafana/provisioning/datasources/:ro'
- './grafana/dashboards-provisioning:/etc/grafana/provisioning/dashboards:ro'
- './grafana/dashboards:/var/lib/grafana/dashboards:ro'
depends_on:
- tempo
ports:
- '3000:3000/tcp'
logging:
driver: none
# prometheus:
# image: 'prom/prometheus:latest'
# command:
# - '--config.file=/etc/prometheus/prometheus.yml'
# - '--log.level=warn'
# volumes:
# - './prometheus.yml:/etc/prometheus/prometheus.yml:ro'
# logging:
# driver: none
# restart: unless-stopped