From 8a0976771bd5372f80d8aa52f11f28ca8416cc9c Mon Sep 17 00:00:00 2001 From: dominikhoebert <42839893+dominikhoebert@users.noreply.github.com> Date: Fri, 2 Aug 2024 10:53:16 +0200 Subject: [PATCH] added netdata --- README.md | 9 ++++++--- netdata/compose.yml | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 netdata/compose.yml diff --git a/README.md b/README.md index 84ffa0c..f28a676 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,7 @@ docker network create --driver bridge proxy - metube 8088 - pinchflat 8945 - netalertx 20211 test on windows -- netdata - - demo: https://app.netdata.cloud/spaces/netdata-demo/rooms/all-nodes +- netdata 19999 test on windows - stirlingpdf - redis - tinyfilemanager @@ -94,4 +93,8 @@ docker network create --driver bridge proxy ## Tools -- [Composerize](https://www.composerize.com/) \ No newline at end of file +- [Composerize](https://www.composerize.com/) + +## Issues + +Web UI of container running in host networking mode on macOS do not seem to be reachable. diff --git a/netdata/compose.yml b/netdata/compose.yml new file mode 100644 index 0000000..77d64b9 --- /dev/null +++ b/netdata/compose.yml @@ -0,0 +1,36 @@ +# https://www.netdata.cloud/ +# https://app.netdata.cloud/spaces/netdata-demo/rooms/all-nodes +# Netdata provides high-fidelity data, real-time visualizations, reliable alerts, anomaly detection for every metric and a monitoring experience that is affordable and works out of the box + +name: netdata +services: + netdata: + image: netdata/netdata + container_name: netdata + pid: host + network_mode: host + restart: unless-stopped + cap_add: + - SYS_PTRACE + - SYS_ADMIN + security_opt: + - apparmor:unconfined + volumes: + - netdataconfig:/etc/netdata + - netdatalib:/var/lib/netdata + - netdatacache:/var/cache/netdata + - /:/host/root:ro,rslave + - /etc/passwd:/host/etc/passwd:ro + - /etc/group:/host/etc/group:ro + - /etc/localtime:/etc/localtime:ro + - /proc:/host/proc:ro + - /sys:/host/sys:ro + - /etc/os-release:/host/etc/os-release:ro + - /var/log:/host/var/log:ro + - /var/run/docker.sock:/var/run/docker.sock:ro + +volumes: + netdataconfig: + netdatalib: + netdatacache: + \ No newline at end of file