-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yaml
106 lines (98 loc) · 2.72 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: "3"
services:
postgresdb:
image: 'docker.io/bitnami/postgresql:12.2.0'
container_name: postgresdb
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: demo
POSTGRES_PASSWORD: demo
POSTGRES_DB: demo
command: [-cmax_prepared_transactions=100]
ports:
- "5432:5432"
networks:
- demo
otel-agent:
image: otel/opentelemetry-collector-dev:latest
command: ["--config=/etc/otel-agent-config.yaml", "--log-level=DEBUG"]
volumes:
- ./otel-agent-config.yaml:/etc/otel-agent-config.yaml
ports:
- "8887:8888" # Prometheus metrics exposed by the agent
- "14250:14250" # Jaeger grpc receiver
- "14268:14268" # Jaeger http thrift receiver
- "55678" # OpenCensus receiver
- "4317" # OTLP gRPC receiver
- "9411" # Zipkin receiver
- "1777:1777" # pprof extension
- "55679:55679" # zpages extension
- "13133" # health_check
depends_on:
- otel-collector
networks:
- demo
# Collector
otel-collector:
image: otel/opentelemetry-collector-dev:latest
command: ["--config=/conf/otel-collector-config.yaml", "--log-level=DEBUG"]
volumes:
- ./otel-collector-config.yaml:/conf/otel-collector-config.yaml
ports:
- "1888:1888" # pprof extension
- "8888:8888" # Prometheus metrics exposed by the collector
- "8889:8889" # Prometheus exporter metrics
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
- "55670:55679" # zpages extension
depends_on:
- jaeger-all-in-one
networks:
- demo
jaeger-all-in-one:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "14268"
- "14250"
networks:
- demo
vmagent:
container_name: vmagent
image: victoriametrics/vmagent
depends_on:
- "victoriametrics"
ports:
- 8429:8429
volumes:
- ./vMetrics.yaml:/etc/victoriametrics/vMetrics.yml
command:
- '--promscrape.config=/etc/victoriametrics/vMetrics.yml'
- '--remoteWrite.url=http://victoriametrics:8428/api/v1/write'
networks:
- demo
victoriametrics:
container_name: victoriametrics
image: victoriametrics/victoria-metrics
ports:
- 8428:8428
- 8089:8089
- 8089:8089/udp
- 2003:2003
- 2003:2003/udp
- 4242:4242
command:
- --promscrape.config=/etc/victoriametrics/vMetrics.yml
volumes:
- ./vMetrics.yaml:/etc/victoriametrics/vMetrics.yml:ro
networks:
- demo
grafana:
container_name: grafana
image: grafana/grafana
ports:
- "3000:3000"
networks:
- demo
networks:
demo: