-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
94 lines (92 loc) · 3.06 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
services:
my-extension:
image: ${DESKTOP_PLUGIN_IMAGE}
environment:
- PLUGIN_API_URL=https://${PLUGIN_API_URL:-digma-compound}:5051
nginx:
image: digmaai/jaeger-ui:1.29.1-digma.0.1.4
ports:
- 5180:80
restart: unless-stopped
environment:
- JAEGER_QUERY_URL=http://jaeger:16686
depends_on:
- jaeger
digma-persistence:
image: digmatic/digma-persistence:1.2
expose:
- '5432'
- '6379'
- '8086'
volumes:
- postgres_data_v1:/etc/lib/postgresql/data-pg
- redis_data_v1:/var/lib/redis
- influxdb_data_v1:/root/.influxdbv2/engine/data
- influxdb_config_v1:/root/.influxdbv2
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=${INFLUXDB_USERNAME:-admin}
- DOCKER_INFLUXDB_INIT_PASSWORD=${INFLUXDB_PASSWORD:-12345678}
- DOCKER_INFLUXDB_INIT_ORG=${INFLUXDB_ORG:-digma}
- DOCKER_INFLUXDB_INIT_BUCKET=${INFLUXDB_BUCKET:-errors}
- DOCKER_INFLUXDB_INIT_RETENTION=${INFLUXDB_BUCKET_RETENTION:-16w}
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN:-dc61908e-05bc-411a-9fe2-e3356b8dc7c0}
- INFLUXD_QUERY_CONCURRENCY=15
- INFLUXD_QUERY_QUEUE_SIZE=200
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_NAME=postgres
restart: unless-stopped
jaeger:
image: jaegertracing/all-in-one:1.45.0
expose:
- 5317:4317
ports:
- 17686:16686
command: |
--query.additional-headers "Access-Control-Allow-Origin: *"
volumes:
- jaeger_data:/badger
environment:
- SPAN_STORAGE_TYPE=badger
- COLLECTOR_OTLP_ENABLED=true
- BADGER_EPHEMERAL=false
- BADGER_DIRECTORY_VALUE=/badger/data
- BADGER_DIRECTORY_KEY=/badger/key
- BADGER_SPAN_STORE_TTL=336h0m0s
restart: unless-stopped
digma-compound:
image: digmatic/digma-compound:0.3.164
ports:
- 5049:5049
- 5050:5050
- 5051:5051
environment:
- BACKEND_DEPLOYMENT_TYPE=DockerExtension
- CacheSettings__RedisConnection=${REDIS_CONNECTION:-digma-persistence}
- ExternalLogging__ConnectionString=${REDIS_CONNECTION:-digma-persistence}
- ConnectionStrings__Postgres=Server=${POSTGRES_SERVER:-digma-persistence};Port=${POSTGRES_SERVER_PORT:-5432};Database=digma_analytics;User
Id=${POSTGRES_USER:-postgres};Password=${POSTGRES_PWD:-postgres};
- influx2__Url=http://${INFLUXDB_URL:-digma-persistence}:8086
- OtlpExporterUrl=
- Jaeger__OtlpUrl=http://jaeger:4317
- ThresholdOptions__RecentActivityUpdateThresholdSeconds=5
- ThresholdOptions__UpsertEndpointThresholdSeconds=5
- ThresholdOptions__UpsertSpanFlowMetadataThresholdSeconds=5
- ThresholdOptions__UpsertSpansThresholdSeconds=5
- GlobalExceptionSettings__ExposeInternalDetails=true
- Kafka__PipelineWorkerCG__Workers=2
- PipelineExecution__NodeExecutionParallelism=1
- ApplicationVersion=0.3.164
depends_on:
- digma-persistence
restart: unless-stopped
volumes:
postgres_data_v1:
redis_data_v1:
influxdb_data_v1:
influxdb_config_v1:
jaeger_data:
networks:
default:
name: digma-extension-network