This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/docker-compose.jaeger.yml

86 lines
2.3 KiB
YAML
Raw Normal View History

2021-04-30 10:46:38 +00:00
version: '3.7'
2021-04-30 09:48:29 +00:00
services:
sia:
environment:
- JAEGER_DISABLED=${JAEGER_DISABLED:-true} # Enable/Disable tracing
- JAEGER_SERVICE_NAME=${PORTAL_NAME:-Skyd} # change to e.g. eu-ger-1
2021-04-30 09:48:29 +00:00
# Configuration
# See https://github.com/jaegertracing/jaeger-client-go#environment-variables
# for all options.
2021-05-04 11:13:05 +00:00
- JAEGER_SAMPLER_TYPE=probabilistic
- JAEGER_SAMPLER_PARAM=0.1
2021-04-30 09:48:29 +00:00
- JAEGER_AGENT_HOST=jaeger-agent
- JAEGER_AGENT_PORT=6831
- JAEGER_REPORTER_LOG_SPANS=false
depends_on:
- jaeger-agent
jaeger-agent:
image: jaegertracing/jaeger-agent
command: [ "--reporter.grpc.host-port=jaeger-collector:14250", "--reporter.grpc.retry.max=1000" ]
container_name: jaeger-agent
restart: on-failure
expose:
- 6831
- 6832
- 5778
2021-04-30 09:48:29 +00:00
environment:
- LOG_LEVEL=debug
networks:
shared:
2021-04-30 11:53:43 +00:00
ipv4_address: 10.10.10.90
2021-04-30 09:48:29 +00:00
depends_on:
- jaeger-collector
jaeger-collector:
image: jaegertracing/jaeger-collector
2021-04-30 11:53:43 +00:00
command: [ "--es.num-shards=1", "--es.num-replicas=0", "--es.server-urls=http://elasticsearch:9200" ]
2021-04-30 09:48:29 +00:00
container_name: jaeger-collector
restart: on-failure
expose:
- 14269
- 14268
- 14250
2021-04-30 09:48:29 +00:00
environment:
- SPAN_STORAGE_TYPE=elasticsearch
- LOG_LEVEL=debug
networks:
shared:
2021-04-30 11:53:43 +00:00
ipv4_address: 10.10.10.91
2021-04-30 09:48:29 +00:00
depends_on:
- elasticsearch
jaeger-query:
image: jaegertracing/jaeger-query
command: [ "--es.num-shards=1", "--es.num-replicas=0", "--es.server-urls=http://elasticsearch:9200" ]
container_name: jaeger-query
restart: on-failure
2021-04-30 13:16:19 +00:00
ports:
- "127.0.0.1:16686:16686"
expose:
- 16687
2021-04-30 09:48:29 +00:00
environment:
- SPAN_STORAGE_TYPE=elasticsearch
- LOG_LEVEL=debug
networks:
shared:
2021-04-30 11:53:43 +00:00
ipv4_address: 10.10.10.92
2021-04-30 09:48:29 +00:00
depends_on:
- elasticsearch
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.15
container_name: elasticsearch
restart: on-failure
environment:
- discovery.type=single-node
volumes:
2021-04-30 10:46:03 +00:00
# This dir needs to be chowned to 1000:1000
- ./docker/data/elasticsearch/data:/usr/share/elasticsearch/data
expose:
- 9200
2021-04-30 09:48:29 +00:00
networks:
shared:
ipv4_address: 10.10.10.93