Skip to content

Commit

Permalink
fixed invalid yaml in the docker compose (#20984)
Browse files Browse the repository at this point in the history
The docker compose yaml wasn't formatted correctly.
  • Loading branch information
bdmorin authored Dec 12, 2023
1 parent 5bc1810 commit b21ac08
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions content/en/network_monitoring/performance/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,29 +407,28 @@ If using `docker-compose`, make the following additions to the Datadog Agent ser
```
version: '3'
services:
..
datadog:
image: "gcr.io/datadoghq/agent:latest"
environment:
DD_SYSTEM_PROBE_NETWORK_ENABLED=true
DD_PROCESS_AGENT_ENABLED=true
DD_API_KEY=<DATADOG_API_KEY>
- DD_SYSTEM_PROBE_NETWORK_ENABLED=true
- DD_PROCESS_AGENT_ENABLED=true
- DD_API_KEY=<DATADOG_API_KEY>
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
- /sys/kernel/debug:/sys/kernel/debug
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
- /sys/kernel/debug:/sys/kernel/debug
cap_add:
- SYS_ADMIN
- SYS_RESOURCE
- SYS_PTRACE
- NET_ADMIN
- NET_BROADCAST
- NET_RAW
- IPC_LOCK
- CHOWN
- SYS_ADMIN
- SYS_RESOURCE
- SYS_PTRACE
- NET_ADMIN
- NET_BROADCAST
- NET_RAW
- IPC_LOCK
- CHOWN
security_opt:
- apparmor:unconfined
- apparmor:unconfined
```
[1]: https://app.datadoghq.com/organization-settings/api-keys
Expand Down

0 comments on commit b21ac08

Please sign in to comment.