-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
66 lines (59 loc) · 2.13 KB
/
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
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
version: "3.7"
services:
postgres-effect:
container_name: postgres-effect
image: postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres-effect
POSTGRES_DB: postgres-effect
POSTGRES_PASSWORD: postgres-effect
PGDATA: /data/postgres-effect
volumes:
- postgres-effect:/data/postgres-effect
ports:
- "5434:5432"
networks:
- effect-workshop
tempo:
image: grafana/tempo:latest
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./docker/tempo.yaml:/etc/tempo.yaml
- tempo-data:/tmp/tempo
ports:
- "14268:14268" # jaeger ingest
- "3200:3200" # tempo
- "9095:9095" # tempo grpc
- "4317:4317" # otlp grpc
- "4318:4318" # otlp http
- "9411:9411" # zipkin
prometheus:
image: prom/prometheus:latest
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
- --enable-feature=otlp-write-receiver # added for allowing writing to prometheus with OTLPMetricExporter and PeriodicExportingMetricReader accrding to this guide: https://github.com/prometheus/docs/blob/f0ddb2aec78080fba4814872b47b6a59622ff15d/content/docs/guides/opentelemetry.md
volumes:
- ./docker/prometheus.yaml:/etc/prometheus.yaml
ports:
- "9090:9090"
grafana:
image: grafana/grafana:10.1.1
volumes:
- ./docker/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
ports:
# Note that we use 3000, so we need to map it to 3001 on localhost
- "3001:3000"
networks:
effect-workshop:
driver: bridge
volumes:
postgres-effect:
tempo-data: