-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 1.19 KB
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (38 loc) · 1.19 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
# Trimmed dev stack: keythread + Jaeger only. No Backstage, no ngrok, no
# full Grafana/Prometheus stack — this is for exercising the correlation
# path locally and viewing traces, not reproducing idp-observ's full demo.
services:
keythread:
build: .
container_name: keythread
ports:
- "8000:8000"
environment:
- LOG_LEVEL=INFO
- OTEL_SERVICE_NAME=keythread
- OTEL_EXPORTER_OTLP_ENDPOINT=http://jaeger:4317
- TRACE_ID_HMAC_SECRET=${TRACE_ID_HMAC_SECRET:?set TRACE_ID_HMAC_SECRET in your .env}
- GITLAB_WEBHOOK_SECRET=${GITLAB_WEBHOOK_SECRET:?set GITLAB_WEBHOOK_SECRET in your .env}
- JIRA_WEBHOOK_SECRET=${JIRA_WEBHOOK_SECRET:?set JIRA_WEBHOOK_SECRET in your .env}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health/live"]
interval: 30s
timeout: 10s
retries: 3
depends_on:
- jaeger
networks:
- keythread
jaeger:
image: jaegertracing/all-in-one:1.57
container_name: jaeger
ports:
- "16686:16686" # Jaeger UI
- "4317:4317" # OTLP gRPC
environment:
- COLLECTOR_OTLP_ENABLED=true
networks:
- keythread
networks:
keythread:
driver: bridge