Skip to content

Commit

Permalink
add ptrace capability for metricbeat so syslog isn't filled with errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Feb 7, 2024
1 parent d48a804 commit 124fcbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infrastructure/docker-compose.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ services:

metricbeat:
image: docker.elastic.co/beats/metricbeat:7.17.13

user: root
cap_add:
- SYS_PTRACE
volumes:
- /proc:/hostfs/proc:ro
- /sys/fs/cgroup:/hostfs/sys/fs/cgroup:ro
Expand Down

0 comments on commit 124fcbb

Please sign in to comment.