You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
914 B
34 lines
914 B
7 months ago
|
version: '3.7'
|
||
|
|
||
|
# To run a specific version of Jaeger, use environment variable, e.g.:
|
||
|
# JAEGER_VERSION=1.52 docker compose up
|
||
|
|
||
|
services:
|
||
|
jaeger:
|
||
|
image: jaegertracing/all-in-one:${JAEGER_VERSION:-latest}
|
||
|
ports:
|
||
|
- "16686:16686"
|
||
|
- "4318:4318"
|
||
|
environment:
|
||
|
- LOG_LEVEL=debug
|
||
|
networks:
|
||
|
- jaeger-example
|
||
|
hotrod:
|
||
|
image: jaegertracing/example-hotrod:${JAEGER_VERSION:-latest}
|
||
|
# To run the latest trunk build, find the tag at Docker Hub and use the line below
|
||
|
# https://hub.docker.com/r/jaegertracing/example-hotrod-snapshot/tags
|
||
|
#image: jaegertracing/example-hotrod-snapshot:0ab8f2fcb12ff0d10830c1ee3bb52b745522db6c
|
||
|
ports:
|
||
|
- "8080:8080"
|
||
|
- "8083:8083"
|
||
|
command: ["all"]
|
||
|
environment:
|
||
|
- OTEL_EXPORTER_OTLP_ENDPOINT=http://jaeger:4318
|
||
|
networks:
|
||
|
- jaeger-example
|
||
|
depends_on:
|
||
|
- jaeger
|
||
|
|
||
|
networks:
|
||
|
jaeger-example:
|