forked from signalfx/tracing-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (55 loc) · 1.76 KB
/
docker-compose.yml
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
version: '3.7'
services:
aspnetcore:
image: sfx-dotnet-aspnetcore-and-mongodb/server-app
build:
context: InstrumentContainer
args:
- SOURCE_CONTAINER=aspnetcore-and-mongodb-server-app
ports:
- "5000:5000"
environment:
- SIGNALFX_SERVICE_NAME=asp.net-core
- SIGNALFX_ENDPOINT_URL=http://splunk-otel-collector:9411/api/v2/spans
- SIGNALFX_ENV=signalfx-dotnet-tracing-examples
depends_on:
- client
- mongo
- splunk-otel-collector
user: 'root'
client:
image: sfx-dotnet-aspnetcore-and-mongodb/client-app
build:
context: InstrumentContainer
args:
- SOURCE_CONTAINER=aspnetcore-and-mongodb-client-app
environment:
- SIGNALFX_SERVICE_NAME=example-client
- SIGNALFX_ENDPOINT_URL=http://splunk-otel-collector:9411/api/v2/spans
- SIGNALFX_ENV=signalfx-dotnet-tracing-examples
depends_on:
- splunk-otel-collector
user: 'root'
entrypoint: 'bash'
command: '-c "sleep 10; while true; do dotnet ClientExample.dll; done"'
mongo:
image: mongo
restart: unless-stopped
ports:
- "27017:27017"
splunk-otel-collector:
image: quay.io/signalfx/splunk-otel-collector:0.52.1
environment:
# Provide the values below if you want to submit the data to the APM ingest.
- SPLUNK_ACCESS_TOKEN
- SPLUNK_REALM
ports:
- "1777:1777" # pprof extension
- "8888:8888" # Prometheus metrics exposed by the collector
- "8889:8889" # Prometheus exporter metrics
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
- "55679:55679" # zpages extension
- "9411:9411" # zipkin receiver
- "9943:9943" # signalfx receiver