Skip to content

Commit

Permalink
Update swarm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amirnd51 committed Jan 17, 2024
1 parent 017b788 commit 0b8b6e7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docker-compose.swarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0b8b6e7

Please sign in to comment.