-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (29 loc) · 829 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (29 loc) · 829 Bytes
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
services:
postgres:
image: "postgres:17.2"
restart: on-failure:3
environment:
- "POSTGRES_PASSWORD=${DB_PASSWORD}"
ports:
- "127.0.0.1:${DB_PORT}:5432"
command: "-c log_statement=all"
# Uncomment the following lines to retain the data
#volumes:
# - "$PWD/postgres-data:/var/lib/postgresql/data:rw"
otel-collector:
image: otel/opentelemetry-collector-contrib:0.118.0
command: ["--config=/etc/otel-collector.yaml"]
volumes:
- ./otel-collector.yaml:/etc/otel-collector.yaml
ports:
- 127.0.0.1:4317:4317
prometheus:
image: prom/prometheus:v3.1.0
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
ports:
- 127.0.0.1:9090:9090
jaeger:
image: jaegertracing/all-in-one:1.60
ports:
- 127.0.0.1:16686:16686