From 0b8b6e7322ba1e05e83b3f0e566dc4e0b94c6931 Mon Sep 17 00:00:00 2001 From: amirnd51 Date: Tue, 16 Jan 2024 19:23:55 -0500 Subject: [PATCH] Update swarm.yml --- docker-compose.swarm.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docker-compose.swarm.yml b/docker-compose.swarm.yml index b1ad8cc..a2dc3b9 100644 --- a/docker-compose.swarm.yml +++ b/docker-compose.swarm.yml @@ -84,7 +84,35 @@ services: target: /consul/config/server.json volumes: - consul_data:/consul/data + trace: + image: jaegertracing/all-in-one:1.45 + + labels: + - "traefik.enable=true" + - "traefik.docker.network=traefik" + - "traefik.http.routers.trace.rule=Host(`trace.${ENVIRONMENT}mlmodelscope.org`)" + - "traefik.http.routers.trace.entrypoints=websecure" + - "traefik.http.routers.trace.tls.certresolver=letsencrypt" + - "traefik.http.services.trace.loadbalancer.server.port=16686" + environment: + - COLLECTOR_ZIPKIN_HTTP_PORT=9411 + - COLLECTOR_OTLP_ENABLED=true + ports: + - "5775:5775/udp" + - "6831:6831/udp" + - "6832:6832/udp" + - "5778:5778" + - "16686:16686" + - "14268:14268" + - "14250:14250" + - "9200:9200" + - "4317:4317" + - "4318:4318" + - "9411:9411" + networks: + - default + - traefik ### Monitoring services grafana: