mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-02-14 10:19:52 +00:00
36 lines
921 B
YAML
36 lines
921 B
YAML
version: '2'
|
|
|
|
services:
|
|
podinfo_frontend:
|
|
build: ..
|
|
command: ./podinfo --backend-url http://podinfo_backend:9899/status/200 --otel-service-name=podinfo_frontend
|
|
environment:
|
|
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel:4317
|
|
ports:
|
|
- "9898:9898"
|
|
podinfo_backend:
|
|
build: ..
|
|
command: ./podinfo --port 9899 --otel-service-name=podinfo_backend
|
|
environment:
|
|
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel:4317
|
|
ports:
|
|
- "9899:9899"
|
|
otel:
|
|
command: --config otel-config.yaml
|
|
image: otel/opentelemetry-collector:0.41.0
|
|
ports:
|
|
- "4317:4317"
|
|
volumes:
|
|
- ${PWD}/otel-config.yaml:/otel-config.yaml
|
|
jaeger:
|
|
image: jaegertracing/all-in-one:1.29.0
|
|
ports:
|
|
- "5775:5775/udp"
|
|
- "6831:6831/udp"
|
|
- "6832:6832/udp"
|
|
- "5778:5778"
|
|
- "16686:16686"
|
|
- "14268:14268"
|
|
- "14250:14250"
|
|
- "9411:9411"
|