From ea7f61985a62f4a0aebcdaa61550fe03c6baaee3 Mon Sep 17 00:00:00 2001 From: Boris Glimcher <36732377+glimchb@users.noreply.github.com> Date: Tue, 4 Jun 2024 17:03:03 -0400 Subject: [PATCH] fix: deploy jaeger on management server for distributed traces Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com> --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b1d402e..062b65e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -146,6 +146,23 @@ services: networks: - opi + jaeger: + image: jaegertracing/all-in-one:1.53.0 + ports: + - "16686:16686" + - "4317:4317" + - "4318:4318" + environment: + - COLLECTOR_OTLP_ENABLED=true + networks: + - opi + healthcheck: + test: ["CMD-SHELL", "nc -zv localhost 4317 && nc -zv localhost 4318 || exit 1"] + interval: 6s + retries: 5 + start_period: 20s + timeout: 10s + volumes: semaphore-mysql: portainer_data: