2021-05-18 19:35:24 +00:00
|
|
|
version: "3.7"
|
2021-04-30 09:48:29 +00:00
|
|
|
|
2021-07-12 11:58:25 +00:00
|
|
|
x-logging: &default-logging
|
|
|
|
driver: json-file
|
|
|
|
options:
|
|
|
|
max-size: "10m"
|
|
|
|
max-file: "3"
|
|
|
|
|
2021-04-30 09:48:29 +00:00
|
|
|
services:
|
|
|
|
sia:
|
|
|
|
environment:
|
2021-06-24 09:22:22 +00:00
|
|
|
- JAEGER_DISABLED=${JAEGER_DISABLED:-false} # Enable/Disable tracing
|
2022-02-15 11:46:57 +00:00
|
|
|
- JAEGER_SERVICE_NAME=${SERVER_DOMAIN:-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
|
2021-06-22 14:19:27 +00:00
|
|
|
- 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
|
|
|
|
|
|
|
|
jaeger-agent:
|
2022-06-21 15:31:38 +00:00
|
|
|
image: jaegertracing/jaeger-agent:1.35.2
|
2021-05-18 19:35:24 +00:00
|
|
|
command:
|
|
|
|
[
|
|
|
|
"--reporter.grpc.host-port=jaeger-collector:14250",
|
|
|
|
"--reporter.grpc.retry.max=1000",
|
|
|
|
]
|
2021-04-30 09:48:29 +00:00
|
|
|
container_name: jaeger-agent
|
|
|
|
restart: on-failure
|
2021-07-12 11:58:25 +00:00
|
|
|
logging: *default-logging
|
2021-04-30 12:54:40 +00:00
|
|
|
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:
|
2022-06-21 15:31:38 +00:00
|
|
|
image: jaegertracing/jaeger-collector:1.35.2
|
2021-05-11 14:42:37 +00:00
|
|
|
entrypoint: /wait_to_start.sh
|
2021-04-30 09:48:29 +00:00
|
|
|
container_name: jaeger-collector
|
|
|
|
restart: on-failure
|
2021-07-12 11:58:25 +00:00
|
|
|
logging: *default-logging
|
2021-04-30 12:54:40 +00:00
|
|
|
expose:
|
|
|
|
- 14269
|
|
|
|
- 14268
|
|
|
|
- 14250
|
2021-04-30 09:48:29 +00:00
|
|
|
environment:
|
|
|
|
- SPAN_STORAGE_TYPE=elasticsearch
|
|
|
|
- LOG_LEVEL=debug
|
2021-05-11 14:02:48 +00:00
|
|
|
- WAIT_START_CMD=/go/bin/collector-linux --es.num-shards=1 --es.num-replicas=0 --es.server-urls=http://elasticsearch:9200
|
2021-05-11 14:07:51 +00:00
|
|
|
- WAIT_COMMAND=wget -qO index.html http://elasticsearch:9200
|
2021-05-11 14:02:48 +00:00
|
|
|
- WAIT_SLEEP=1
|
|
|
|
- WAIT_LOOPS=600
|
2021-05-11 12:11:42 +00:00
|
|
|
volumes:
|
2021-05-11 14:42:37 +00:00
|
|
|
- ./scripts/wait_to_start.sh:/wait_to_start.sh:ro
|
2021-04-30 09:48:29 +00:00
|
|
|
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:
|
2021-05-11 12:11:42 +00:00
|
|
|
- elasticsearch
|
2021-04-30 09:48:29 +00:00
|
|
|
|
|
|
|
jaeger-query:
|
2022-06-21 15:31:38 +00:00
|
|
|
image: jaegertracing/jaeger-query:1.35.2
|
2021-05-11 14:42:37 +00:00
|
|
|
entrypoint: /wait_to_start.sh
|
2021-04-30 09:48:29 +00:00
|
|
|
container_name: jaeger-query
|
|
|
|
restart: on-failure
|
2021-07-12 11:58:25 +00:00
|
|
|
logging: *default-logging
|
2021-04-30 13:16:19 +00:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:16686:16686"
|
2021-04-30 12:54:40 +00:00
|
|
|
expose:
|
|
|
|
- 16687
|
2021-04-30 09:48:29 +00:00
|
|
|
environment:
|
|
|
|
- SPAN_STORAGE_TYPE=elasticsearch
|
|
|
|
- LOG_LEVEL=debug
|
2021-05-11 14:02:48 +00:00
|
|
|
- WAIT_START_CMD=/go/bin/query-linux --es.num-shards=1 --es.num-replicas=0 --es.server-urls=http://elasticsearch:9200
|
2021-05-11 14:07:51 +00:00
|
|
|
- WAIT_COMMAND=wget -qO index.html http://elasticsearch:9200
|
2021-05-11 14:02:48 +00:00
|
|
|
- WAIT_SLEEP=1
|
|
|
|
- WAIT_LOOPS=600
|
2021-05-11 12:11:42 +00:00
|
|
|
volumes:
|
2021-05-11 14:42:37 +00:00
|
|
|
- ./scripts/wait_to_start.sh:/wait_to_start.sh:ro
|
2021-04-30 09:48:29 +00:00
|
|
|
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:
|
2021-05-11 12:11:42 +00:00
|
|
|
- elasticsearch
|
2021-04-30 09:48:29 +00:00
|
|
|
|
|
|
|
elasticsearch:
|
2022-06-21 11:35:37 +00:00
|
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.4
|
2021-04-30 09:48:29 +00:00
|
|
|
container_name: elasticsearch
|
|
|
|
restart: on-failure
|
2021-07-12 11:58:25 +00:00
|
|
|
logging: *default-logging
|
2021-04-30 09:48:29 +00:00
|
|
|
environment:
|
|
|
|
- discovery.type=single-node
|
2021-06-16 13:32:06 +00:00
|
|
|
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
|
2021-04-30 10:15:48 +00:00
|
|
|
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
|
2021-05-04 11:46:02 +00:00
|
|
|
ports:
|
|
|
|
# We need to expose this port, so we can prune the indexes.
|
|
|
|
- "127.0.0.1:9200:9200"
|
2021-04-30 09:48:29 +00:00
|
|
|
networks:
|
|
|
|
shared:
|
|
|
|
ipv4_address: 10.10.10.93
|