-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (52 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
58 lines (52 loc) · 1.21 KB
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
version: '3'
services:
redis:
image: redis:latest
ports:
- "6379:6379"
environment:
- REDIS_PASSWORD=redis
- REDIS_PORT=6379
healthcheck:
test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ]
interval: 1s
timeout: 3s
retries: 5
command: [ "redis-server" ]
postgres:
image: postgres:17
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=roadmap
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- 5432:5432
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686" # Web UI
- "14268:14268" # Collector HTTP
- "14250:14250" # Collector gRPC
- "6831:6831/udp" # Agent
- "5775:5775/udp" # Agent
networks:
- tracing
otel-collector:
image: otel/opentelemetry-collector-contrib:latest
container_name: otel-collector
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "4317:4317"
- "4318:4318"
networks:
- tracing
networks:
tracing:
driver: bridge
volumes:
postgres_data: