forked from DataDog/datadog-agent
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
66 lines (60 loc) · 1.96 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
56
57
58
59
60
61
62
63
64
65
66
---
version: '2.4'
services:
zookeeper:
extends:
file: ./test/molecule-role/molecule/_shared/files/docker-compose.base.yml
service: zookeeper
kafka:
depends_on:
zookeeper:
condition: service_healthy
extends:
file: ./test/molecule-role/molecule/_shared/files/docker-compose.base.yml
service: kafka
receiver:
depends_on:
kafka:
condition: service_healthy
extends:
file: ./test/molecule-role/molecule/_shared/files/docker-compose.base.yml
service: receiver
topic-api:
depends_on:
receiver:
condition: service_healthy
extends:
file: ./test/molecule-role/molecule/_shared/files/docker-compose.base.yml
service: topic-api
stackstate-agent:
image: docker.io/stackstate/${STS_DOCKER_TEST_REPO:-stackstate-agent-test}:${AGENT_VERSION-master}
network_mode: "host"
pid: "host"
privileged: true
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "/proc/:/host/proc/:ro"
- "/sys/fs/cgroup/:/host/sys/fs/cgroup:ro"
- "/etc/passwd:/etc/passwd:ro"
- "/sys/kernel/debug:/sys/kernel/debug"
- "./test/manual/agent_v2_integration_transactional_sample.d:/etc/stackstate-agent/conf.d/agent_v2_integration_transactional_sample.d:ro"
environment:
STS_API_KEY: "API_KEY"
STS_STS_URL: "http://localhost:7078/stsAgent"
STS_HOSTNAME: "trace-java-demo"
STS_PROCESS_AGENT_URL: "http://localhost:7077/stsAgent"
STS_PROCESS_AGENT_ENABLED: "true"
STS_NETWORK_TRACING_ENABLED: "true"
STS_PROTOCOL_INSPECTION_ENABLED: "true"
STS_APM_URL: "http://localhost:7077/stsAgent"
STS_APM_ENABLED: "true"
HOST_PROC: "/host/proc"
HOST_SYS: "/host/sys"
STS_LOG_LEVEL: "debug"
STS_LOG_TO_CONSOLE: "true"
STS_LOG_PAYLOADS: "true"
# healthcheck:
# test: curl --fail -s http://localhost:5000/ || exit 1
# interval: 1m30s
# timeout: 10s
# retries: 3