Skip to content

Commit

Permalink
Updating docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
amirnd51 committed Jan 17, 2024
1 parent b25360c commit 017b788
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ MQ_USER=admin
MQ_PASSWORD=password
MQ_HOST=mq
MQ_PORT=5672
tracer_PORT=4317
tracer_HOST=trace
MQ_ERLANG_COOKIE=quadruple-chocolate-chunk
TRACER_ADDRESS=trace.local.mlmodelscope.org
28 changes: 28 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,34 @@ services:
- ./docker/mlmodelscope-www.yml:/root/mlmodelscope-www.yml
- /var/run/docker.sock:/var/run/docker.sock:ro

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=web"
- "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
11 changes: 10 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,28 @@ services:

depends_on:
- mq


trace:
image: jaegertracing/all-in-one:1.21.0
image: jaegertracing/all-in-one:1.45
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"
- "14269:14269"
- "9200:9200"
- "4317:4317"
- "4318:4318"
- "9411:9411"



companion:
image: transloadit/companion:sha-a74ae35
Expand Down

0 comments on commit 017b788

Please sign in to comment.