Add docker volume for cgroups name resolving and uts host namespace

This commit is contained in:
Генус Алексей Алексеевич 2017-11-29 17:36:16 +03:00
parent 685be4d53a
commit c88d53d0a2
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
netdata:
image: titpetric/netdata:latest
labels:
io.rancher.scheduler.global: 'true'
uts: host
cap_add:
- SYS_PTRACE
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
NETDATA_PORT: "${NETDATA_PORT}"

View File

@ -0,0 +1,13 @@
.catalog:
name: netdata
version: v1.8.0
description: Real-time performance monitoring, done right!
questions:
- variable: NETDATA_PORT
label: Port
description: Container port to access netdata
required: true
type: int
default: 19999
netdata:
scale: 1