-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
49 lines (48 loc) · 1.32 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3'
services:
postgres:
image: postgres:16
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
prometheus:
image: prom/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
ports:
- 9090:9090
volumes:
- ./src/main/docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
tempo:
image: grafana/tempo
user: "0:0" # wichtig, da sich der Container sonst nicht starten lässt
command:
- "-config.file"
- "/etc/tempo.yml"
ports:
- "3200:3200" # tempo
- "9095:9095" # tempo grpc
- "4317:4317" # otlp grpc
- "4318:4318" # otlp http
volumes:
- ./src/main/docker/tempo/tempo.yml:/etc/tempo.yml
- tempo-storage:/tmp/tempo/
grafana:
image: grafana/grafana-enterprise
ports:
- 3000:3000
volumes:
- grafana-storage:/var/lib/grafana
- ./src/main/docker/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- ./src/main/docker/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
depends_on:
- prometheus
- tempo
volumes:
grafana-storage: {}
tempo-storage: {}