-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (29 loc) · 982 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (29 loc) · 982 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
# docker-compose.yml — Local observability stack + containerized Conference API
#
# Start with: docker compose up -d --build
# App: http://localhost:8080
# Jaeger UI: http://localhost:16686 (search for service "confapi")
services:
jaeger:
image: jaegertracing/all-in-one:1.62
ports:
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
- "16686:16686" # Jaeger UI
environment:
COLLECTOR_OTLP_ENABLED: "true"
confapi:
build:
context: .
dockerfile: docker/quarkus/Dockerfile
image: confapi:local
depends_on:
- jaeger
ports:
- "8080:8080"
environment:
# Containers reach each other by service name on the Compose network.
# Overrides the "localhost:4317" baked into microprofile-config.properties,
# so local (non-Docker) dev keeps working unchanged.
OTEL_EXPORTER_OTLP_ENDPOINT: "http://jaeger:4317"
OTEL_SERVICE_NAME: "confapi"