-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yaml
37 lines (37 loc) · 1.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
version: '3.9'
services:
agent:
image: datadog/agent:latest
ports:
- '8126:8126'
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
environment:
- DD_APM_ENABLED=true
- DD_APM_NON_LOCAL_TRAFFIC=true
- DD_API_KEY=${DD_API_KEY}
- DD_SITE=${DD_SITE:-datadoghq.com}
- DD_ENV=dev
hash-honeypot:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/usr/src/app
environment:
- DD_AGENT_HOST=agent
- DD_TRACE_AGENT_PORT=8126
- DD_TRACER_ENABLED=true
- DD_APPSEC_ENABLED=true
- DD_API_KEY=${DD_API_KEY}
- DD_SERVICE=${DD_SERVICE:-sec-research}
- DD_TRACE_DEBUG=false
- DD_ENV=dev
tty: true
depends_on:
agent:
condition: service_healthy
ports:
- 8081:3000